Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002221/0.002221, allocations: 288.7 kB / 304.7 MB, free: 3.551 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9497/0.9497, allocations: 180.9 MB / 0.5281 GB, free: 1.992 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 107.8 kB / 0.7277 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3965, allocations: 94.15 MB / 0.8197 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02373/0.4203, allocations: 23.6 MB / 0.8427 GB, free: 1.699 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.007421/0.4277, allocations: 5.125 MB / 0.8477 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005427/0.4282, allocations: 29.09 kB / 0.8478 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007195/0.4289, allocations: 288.5 kB / 0.848 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.4306, allocations: 0.8243 MB / 0.8488 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.4322, allocations: 0.7838 MB / 0.8496 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.4339, allocations: 1.623 MB / 0.8512 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005372/0.4345, allocations: 399.3 kB / 0.8516 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.4357, allocations: 0.6363 MB / 0.8522 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006082/0.4363, allocations: 476.5 kB / 0.8526 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.361e-05/0.4364, allocations: 46.12 kB / 0.8527 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009979/0.4374, allocations: 0.495 MB / 0.8532 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.4375, allocations: 147.2 kB / 0.8533 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.4378, allocations: 307.8 kB / 0.8536 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.439, allocations: 0.9282 MB / 0.8545 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.439, allocations: 0 / 0.8545 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.012e-06/0.439, allocations: 0 / 0.8545 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.439, allocations: 0 / 0.8545 GB, free: 8.969 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001229/0.4402, allocations: 0.9078 MB / 0.8554 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.4403, allocations: 9.156 kB / 0.8554 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.768e-05/0.4404, allocations: 79.69 kB / 0.8555 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.4405, allocations: 66.97 kB / 0.8555 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/0.4415, allocations: 0.5893 MB / 0.8561 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.4415, allocations: 33.09 kB / 0.8561 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.4416, allocations: 38.34 kB / 0.8562 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006495/0.4422, allocations: 435.3 kB / 0.8566 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4422, allocations: 0.9375 kB / 0.8566 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.4423, allocations: 16.34 kB / 0.8566 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.4423, allocations: 13.7 kB / 0.8566 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.4428, allocations: 308.6 kB / 0.8569 GB, free: 7.133 MB / 0.5919 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.002481/0.4453, allocations: 1.916 MB / 0.8588 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.4457, allocations: 243.9 kB / 0.859 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.4459, allocations: 120.7 kB / 0.8591 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008318/0.4467, allocations: 0.8428 MB / 0.86 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4468, allocations: 42.55 kB / 0.86 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.293e-06/0.4468, allocations: 0 / 0.86 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.0006542/0.4474, allocations: 372.4 kB / 0.8604 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.4475, allocations: 59.34 kB / 0.8604 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005542/0.448, allocations: 478 kB / 0.8609 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.4481, allocations: 33.7 kB / 0.8609 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.4483, allocations: 264.4 kB / 0.8612 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.4483, allocations: 99.23 kB / 0.8613 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.4485, allocations: 73.97 kB / 0.8613 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4486, allocations: 358.8 kB / 0.8617 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.4488, allocations: 104.6 kB / 0.8618 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.449, allocations: 168.1 kB / 0.8619 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.4494, allocations: 279.7 kB / 0.8622 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4494, allocations: 0 / 0.8622 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000558/0.45, allocations: 361.2 kB / 0.8625 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.45, allocations: 7.938 kB / 0.8625 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.45, allocations: 4 kB / 0.8625 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.45, allocations: 11.88 kB / 0.8626 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.4503, allocations: 76.11 kB / 0.8626 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4503, allocations: 4 kB / 0.8626 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.4505, allocations: 35.73 kB / 0.8627 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.4506, allocations: 15.98 kB / 0.8627 GB, free: 1.227 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.4508, allocations: 181.7 kB / 0.8629 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.4509, allocations: 51.67 kB / 0.8629 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007724/0.4516, allocations: 469 kB / 0.8634 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4517, allocations: 7.938 kB / 0.8634 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4517, allocations: 7.938 kB / 0.8634 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006086/0.4523, allocations: 0.5685 MB / 0.8639 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.454, allocations: 1.157 MB / 0.8651 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.454, allocations: 0 / 0.8651 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.4542, allocations: 47.92 kB / 0.8651 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.4542, allocations: 12.17 kB / 0.8651 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.4542, allocations: 8 kB / 0.8651 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4542, allocations: 4 kB / 0.8651 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4542, allocations: 0 / 0.8651 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008634/0.4551, allocations: 0.6759 MB / 0.8658 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.4553, allocations: 176.6 kB / 0.866 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.4553, allocations: 12 kB / 0.866 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.4556, allocations: 15.97 kB / 0.866 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.4556, allocations: 27.91 kB / 0.866 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.4557, allocations: 19.98 kB / 0.866 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003966/0.4561, allocations: 346.9 kB / 0.8664 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.4561, allocations: 0 / 0.8664 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005856/0.4566, allocations: 199.6 kB / 0.8665 GB, free: 13.04 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001579/0.4582, allocations: 1.407 MB / 0.8679 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.4587, allocations: 271.7 kB / 0.8682 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4587, allocations: 0 / 0.8682 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.4589, allocations: 152.5 kB / 0.8683 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.4603, allocations: 334.3 kB / 0.8686 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.4655, allocations: 4.228 MB / 0.8728 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.466, allocations: 0.8627 MB / 0.8736 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000316/0.4663, allocations: 120.7 kB / 0.8737 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.4666, allocations: 191.4 kB / 0.8739 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.4666, allocations: 0 / 0.8739 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04298/0.5095, allocations: 17.13 MB / 0.8906 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.401, allocations: 17.11 kB / 0.8907 GB, free: 4.449 MB / 0.6231 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.792820161004784]