Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.568/1.568, allocations: 288.4 MB / 303.6 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009626/0.0009629, allocations: 188.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007988/0.0007988, allocations: 91.3 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 13.81 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1915, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6187/0.8103, allocations: 177.5 MB / 1.154 GB, free: 8.711 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01594/0.8263, allocations: 13.27 MB / 1.167 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.8274, allocations: 27.34 kB / 1.167 GB, free: 14 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.8287, allocations: 385.3 kB / 1.167 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004281/0.833, allocations: 1.635 MB / 1.169 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.8351, allocations: 0.6726 MB / 1.169 GB, free: 12 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003611/0.8387, allocations: 3.058 MB / 1.172 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.8401, allocations: 0.9111 MB / 1.173 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.843, allocations: 1.296 MB / 1.174 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.8447, allocations: 0.8827 MB / 1.175 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.8448, allocations: 48.06 kB / 1.175 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.8474, allocations: 1.223 MB / 1.176 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004946/0.8479, allocations: 447 kB / 1.177 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000743/0.8486, allocations: 0.5605 MB / 1.177 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.8503, allocations: 1.412 MB / 1.179 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8503, allocations: 0 / 1.179 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8503, allocations: 3.938 kB / 1.179 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.8503, allocations: 2.969 kB / 1.179 GB, free: 6.262 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001991/0.8523, allocations: 1.232 MB / 1.18 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.8524, allocations: 8 kB / 1.18 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.8526, allocations: 147.1 kB / 1.18 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.8538, allocations: 259.6 kB / 1.18 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.8553, allocations: 0.8385 MB / 1.181 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.471e-05/0.8554, allocations: 70.22 kB / 1.181 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.8556, allocations: 105.9 kB / 1.181 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.8573, allocations: 1.16 MB / 1.182 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.8573, allocations: 6.594 kB / 1.183 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/0.8574, allocations: 44.61 kB / 1.183 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.8574, allocations: 38.5 kB / 1.183 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.8588, allocations: 0.9042 MB / 1.183 GB, free: 3.086 MB / 0.7136 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.00572/0.8645, allocations: 5.73 MB / 1.189 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008066/0.8653, allocations: 0.5617 MB / 1.19 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.8658, allocations: 329.1 kB / 1.19 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000608/0.8664, allocations: 324.5 kB / 1.19 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.8665, allocations: 40.72 kB / 1.19 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 2.645e-06/0.8665, allocations: 0 / 1.19 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.001481/0.868, allocations: 0.8222 MB / 1.191 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.868, allocations: 82.86 kB / 1.191 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008776/0.8689, allocations: 0.746 MB / 1.192 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.869, allocations: 38.83 kB / 1.192 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.8694, allocations: 0.5059 MB / 1.192 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.8695, allocations: 179.2 kB / 1.193 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.8695, allocations: 14.81 kB / 1.193 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8697, allocations: 346.8 kB / 1.193 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.87, allocations: 250.3 kB / 1.193 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.8706, allocations: 0.5743 MB / 1.194 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009431/0.8716, allocations: 0.8089 MB / 1.195 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.8716, allocations: 3.312 kB / 1.195 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001183/0.8728, allocations: 0.8544 MB / 1.195 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.8728, allocations: 7.938 kB / 1.195 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.8728, allocations: 12.83 kB / 1.195 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.8728, allocations: 11.34 kB / 1.195 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.8734, allocations: 162.9 kB / 1.196 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.8734, allocations: 11.25 kB / 1.196 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009749/0.8744, allocations: 146.2 kB / 1.196 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.8745, allocations: 34.38 kB / 1.196 GB, free: 9.246 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * 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.0004877/0.875, allocations: 336.2 kB / 1.196 GB, free: 9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.8751, allocations: 84.41 kB / 1.196 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009653/0.8761, allocations: 0.633 MB / 1.197 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.8761, allocations: 9.75 kB / 1.197 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.8761, allocations: 0 / 1.197 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007288/0.8769, allocations: 0.5235 MB / 1.197 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.8795, allocations: 1.774 MB / 1.199 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.8795, allocations: 7.219 kB / 1.199 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.88, allocations: 117.6 kB / 1.199 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.88, allocations: 2.688 kB / 1.199 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.88, allocations: 14.09 kB / 1.199 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.8801, allocations: 8.531 kB / 1.199 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8801, allocations: 3.312 kB / 1.199 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.8813, allocations: 1.081 MB / 1.2 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.8816, allocations: 236.4 kB / 1.2 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.86e-05/0.8817, allocations: 12.62 kB / 1.2 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.8823, allocations: 57.3 kB / 1.2 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.8823, allocations: 35.8 kB / 1.201 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.8824, allocations: 21.83 kB / 1.201 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005558/0.8829, allocations: 0.5078 MB / 1.201 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.883, allocations: 0 / 1.201 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007976/0.8838, allocations: 307.7 kB / 1.201 GB, free: 5.73 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * 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.001826/0.8856, allocations: 1.73 MB / 1.203 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008967/0.8865, allocations: 0.6168 MB / 1.204 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8865, allocations: 1.75 kB / 1.204 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.8868, allocations: 280.4 kB / 1.204 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.889, allocations: 434.1 kB / 1.204 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007308/0.8963, allocations: 5.681 MB / 1.21 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.8969, allocations: 1.114 MB / 1.211 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008981/0.8978, allocations: 283.2 kB / 1.211 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.8983, allocations: 363.3 kB / 1.212 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.8983, allocations: 0 / 1.212 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8227/1.721, allocations: 23.62 MB / 1.235 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/1.721, allocations: 231 kB / 1.235 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/4.369, allocations: 0 / 1.235 GB, free: 4.582 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)