Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7395/0.7395, allocations: 128.8 MB / 143.7 MB, free: 2.156 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 176.4 kB / 173.8 MB, free: 6.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.4 MB / 409 MB, free: 10.47 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 98.7 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004075, allocations: 13.97 kB / 0.5604 GB, free: 97.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1872, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.625/5.812, allocations: 2.16 GB / 2.795 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004174/5.813, allocations: 100 kB / 2.795 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.157/7.97, allocations: 0.6584 GB / 3.454 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.024e-06/7.97, allocations: 0 / 3.454 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001476/7.97, allocations: 28 kB / 3.454 GB, free: 7.457 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.00578/7.976, allocations: 1.584 MB / 3.455 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/7.976, allocations: 8.031 kB / 3.455 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/7.978, allocations: 270.2 kB / 3.456 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/7.981, allocations: 0.8353 MB / 3.457 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/7.981, allocations: 82.02 kB / 3.457 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000435/7.982, allocations: 108 kB / 3.457 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/7.985, allocations: 1.25 MB / 3.458 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/7.985, allocations: 11.94 kB / 3.458 GB, free: 3.117 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/7.985, allocations: 44 kB / 3.458 GB, free: 3.074 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.524e-05/7.985, allocations: 41.95 kB / 3.458 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/7.987, allocations: 0.9796 MB / 3.459 GB, free: 2.055 MB / 0.6667 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.4388/8.426, allocations: 6.081 MB / 3.465 GB, free: 93.92 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008598/8.427, allocations: 0.575 MB / 3.465 GB, free: 93.87 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/8.427, allocations: 219.7 kB / 3.466 GB, free: 93.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/8.427, allocations: 49.31 kB / 3.466 GB, free: 93.64 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.657e-06/8.427, allocations: 0 / 3.466 GB, free: 93.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.001685/8.429, allocations: 0.7896 MB / 3.466 GB, free: 93.55 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/8.429, allocations: 82.11 kB / 3.467 GB, free: 93.46 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/8.43, allocations: 0.719 MB / 3.467 GB, free: 93.33 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.759e-05/8.43, allocations: 43.36 kB / 3.467 GB, free: 93.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/8.431, allocations: 0.5485 MB / 3.468 GB, free: 93.08 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/8.431, allocations: 186.7 kB / 3.468 GB, free: 92.99 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/8.431, allocations: 15.75 kB / 3.468 GB, free: 92.99 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/8.431, allocations: 343.2 kB / 3.468 GB, free: 92.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/8.431, allocations: 275.9 kB / 3.469 GB, free: 92.68 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/8.432, allocations: 0.6172 MB / 3.469 GB, free: 92.27 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005728/8.433, allocations: 414.9 kB / 3.47 GB, free: 92.24 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/8.433, allocations: 5.594 kB / 3.47 GB, free: 92.24 MB / 0.6667 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001525/8.434, allocations: 0.9769 MB / 3.471 GB, free: 92.11 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/8.434, allocations: 42.45 kB / 3.471 GB, free: 92.08 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/8.434, allocations: 9.531 kB / 3.471 GB, free: 92.08 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/8.434, allocations: 13.75 kB / 3.471 GB, free: 92.08 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/8.435, allocations: 178.9 kB / 3.471 GB, free: 92.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/8.435, allocations: 22.55 kB / 3.471 GB, free: 92.08 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/8.436, allocations: 158.3 kB / 3.471 GB, free: 92.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/8.436, allocations: 41.55 kB / 3.471 GB, free: 92.05 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.0006644/8.437, allocations: 361 kB / 3.471 GB, free: 91.94 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/8.437, allocations: 93.95 kB / 3.471 GB, free: 91.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/8.438, allocations: 0.606 MB / 3.472 GB, free: 91.83 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/8.438, allocations: 6.562 kB / 3.472 GB, free: 91.83 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/8.438, allocations: 0 / 3.472 GB, free: 91.83 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007804/8.439, allocations: 0.505 MB / 3.473 GB, free: 91.76 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/8.442, allocations: 1.68 MB / 3.474 GB, free: 91.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/8.442, allocations: 3.047 kB / 3.474 GB, free: 91.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/8.443, allocations: 117.7 kB / 3.474 GB, free: 91.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/8.443, allocations: 3.531 kB / 3.474 GB, free: 91.41 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/8.443, allocations: 16.94 kB / 3.474 GB, free: 91.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/8.443, allocations: 7.312 kB / 3.474 GB, free: 91.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/8.443, allocations: 3.781 kB / 3.474 GB, free: 91.41 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/8.444, allocations: 1.197 MB / 3.476 GB, free: 91 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/8.445, allocations: 243.6 kB / 3.476 GB, free: 90.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/8.445, allocations: 15.11 kB / 3.476 GB, free: 90.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007592/8.446, allocations: 73.59 kB / 3.476 GB, free: 90.85 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/8.446, allocations: 36.53 kB / 3.476 GB, free: 90.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/8.446, allocations: 24.58 kB / 3.476 GB, free: 90.85 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000689/8.447, allocations: 0.5558 MB / 3.476 GB, free: 90.76 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/8.447, allocations: 3.688 kB / 3.476 GB, free: 90.76 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001892/8.449, allocations: 0.5125 MB / 3.477 GB, free: 90.75 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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.002908/8.451, allocations: 1.931 MB / 3.479 GB, free: 90.18 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001365/8.453, allocations: 0.7144 MB / 3.48 GB, free: 90.11 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/8.453, allocations: 0 / 3.48 GB, free: 90.11 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004054/8.453, allocations: 277.1 kB / 3.48 GB, free: 90.11 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/8.456, allocations: 479.7 kB / 3.48 GB, free: 90.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/8.46, allocations: 2.467 MB / 3.483 GB, free: 89.05 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/8.46, allocations: 1.173 MB / 3.484 GB, free: 88.35 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00111/8.462, allocations: 272.5 kB / 3.484 GB, free: 88.34 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/8.462, allocations: 74.02 kB / 3.484 GB, free: 88.33 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/8.462, allocations: 0 / 3.484 GB, free: 88.33 MB / 0.6667 GB Notification: Performance of Templates: time 0.06119/8.523, allocations: 38.68 MB / 3.522 GB, free: 87.6 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)