Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.204/2.204, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001337, allocations: 179.8 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.32/2.32, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000989/0.0009885, allocations: 87.34 kB / 0.6817 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004853, allocations: 17.78 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 106.3 MB / 0.8995 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.271/7.485, allocations: 2.246 GB / 3.145 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/7.486, allocations: 96.81 kB / 3.145 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.399/10.88, allocations: 0.6365 GB / 3.782 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.264e-06/10.89, allocations: 0 / 3.782 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001021/10.89, allocations: 26.97 kB / 3.782 GB, free: 173.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005098/10.89, allocations: 1.463 MB / 3.783 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/10.89, allocations: 11.81 kB / 3.783 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/10.89, allocations: 249.3 kB / 3.784 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00334/10.9, allocations: 0.8937 MB / 3.784 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/10.9, allocations: 75.69 kB / 3.785 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/10.9, allocations: 96.03 kB / 3.785 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/10.9, allocations: 1.129 MB / 3.786 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/10.9, allocations: 6.219 kB / 3.786 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/10.9, allocations: 45.75 kB / 3.786 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.637e-05/10.9, allocations: 31.41 kB / 3.786 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/10.9, allocations: 0.8504 MB / 3.787 GB, free: 172.6 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/10.92, allocations: 5.695 MB / 3.792 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/10.92, allocations: 0.5308 MB / 3.793 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/10.92, allocations: 300.8 kB / 3.793 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/10.92, allocations: 311.2 kB / 3.793 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/10.92, allocations: 40.31 kB / 3.793 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=49): time 4.969e-06/10.92, allocations: 1.938 kB / 3.793 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.003562/10.92, allocations: 0.7734 MB / 3.794 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/10.92, allocations: 60.3 kB / 3.794 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/10.93, allocations: 0.7308 MB / 3.795 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002373/10.93, allocations: 38.92 kB / 3.795 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006481/10.93, allocations: 0.4945 MB / 3.795 GB, free: 168 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/10.93, allocations: 179.4 kB / 3.796 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/10.93, allocations: 15.44 kB / 3.796 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002379/10.93, allocations: 398 kB / 3.796 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009986/10.93, allocations: 235.9 kB / 3.796 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/10.93, allocations: 0.5584 MB / 3.797 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/10.93, allocations: 351.3 kB / 3.797 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/10.93, allocations: 0 / 3.797 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003114/10.94, allocations: 0.8291 MB / 3.798 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/10.94, allocations: 11.41 kB / 3.798 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/10.94, allocations: 11.56 kB / 3.798 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-05/10.94, allocations: 11.16 kB / 3.798 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/10.94, allocations: 151.5 kB / 3.798 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.434e-05/10.94, allocations: 24.75 kB / 3.798 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/10.94, allocations: 127.4 kB / 3.798 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/10.94, allocations: 39.59 kB / 3.798 GB, free: 167.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009889/10.94, allocations: 333.9 kB / 3.799 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/10.94, allocations: 87.09 kB / 3.799 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/10.94, allocations: 0.6052 MB / 3.799 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/10.94, allocations: 6.625 kB / 3.799 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/10.94, allocations: 0 / 3.799 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/10.94, allocations: 0.4993 MB / 3.8 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003973/10.95, allocations: 1.648 MB / 3.801 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/10.95, allocations: 3.75 kB / 3.801 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/10.95, allocations: 120.3 kB / 3.801 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/10.95, allocations: 4.688 kB / 3.801 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/10.95, allocations: 13.59 kB / 3.801 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/10.95, allocations: 3.594 kB / 3.801 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/10.95, allocations: 6.188 kB / 3.801 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/10.95, allocations: 1.036 MB / 3.803 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000672/10.95, allocations: 218.2 kB / 3.803 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/10.95, allocations: 18.55 kB / 3.803 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/10.95, allocations: 70.28 kB / 3.803 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/10.95, allocations: 37.78 kB / 3.803 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/10.95, allocations: 16.25 kB / 3.803 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001151/10.96, allocations: 0.5015 MB / 3.803 GB, free: 166 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.71e-07/10.96, allocations: 0 / 3.803 GB, free: 166 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002524/10.96, allocations: 485.7 kB / 3.804 GB, free: 166 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004088/10.96, allocations: 1.894 MB / 3.806 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001681/10.96, allocations: 0.5964 MB / 3.806 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/10.96, allocations: 0 / 3.806 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000556/10.96, allocations: 265.8 kB / 3.806 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/10.97, allocations: 432.3 kB / 3.807 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/10.97, allocations: 2.337 MB / 3.809 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/10.97, allocations: 1.128 MB / 3.81 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001561/10.97, allocations: 273.1 kB / 3.811 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/10.98, allocations: 71.17 kB / 3.811 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.473e-06/10.98, allocations: 0 / 3.811 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.08277/11.06, allocations: 36.54 MB / 3.846 GB, free: 163 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)