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.00146/0.00146, allocations: 112.9 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.001456/0.001456, 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.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.184 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.002242/0.002242, allocations: 290.6 kB / 304.7 MB, free: 3.445 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.9876/0.9876, allocations: 180.9 MB / 0.5281 GB, free: 1.973 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.002649/0.002649, allocations: 103.8 kB / 0.7277 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4154, allocations: 94.16 MB / 0.8197 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.0267/0.4421, allocations: 23.61 MB / 0.8427 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007575/0.4497, allocations: 5.122 MB / 0.8477 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007693/0.4505, allocations: 27.94 kB / 0.8478 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008158/0.4513, allocations: 284.5 kB / 0.848 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.4534, allocations: 0.8288 MB / 0.8488 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.4552, allocations: 0.7864 MB / 0.8496 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002105/0.4573, allocations: 1.617 MB / 0.8512 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006784/0.458, allocations: 403.5 kB / 0.8516 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.4597, allocations: 0.6362 MB / 0.8522 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008315/0.4605, allocations: 473 kB / 0.8526 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.4606, allocations: 46.72 kB / 0.8527 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.4617, allocations: 0.4984 MB / 0.8532 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.4619, allocations: 147.1 kB / 0.8533 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.4624, allocations: 306.1 kB / 0.8536 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.4639, allocations: 0.9254 MB / 0.8545 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4639, allocations: 0 / 0.8545 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4639, allocations: 0 / 0.8545 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.072e-05/0.4639, allocations: 1.125 kB / 0.8545 GB, free: 8.934 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.001822/0.4657, allocations: 0.9168 MB / 0.8554 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4657, allocations: 9.094 kB / 0.8554 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.4658, allocations: 75.56 kB / 0.8555 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.4661, allocations: 71.64 kB / 0.8555 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.4672, allocations: 0.5845 MB / 0.8561 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.4672, allocations: 29.5 kB / 0.8561 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.4673, allocations: 46.02 kB / 0.8562 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/0.468, allocations: 432.1 kB / 0.8566 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.468, allocations: 4 kB / 0.8566 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.931e-05/0.4681, allocations: 20.12 kB / 0.8566 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.4681, allocations: 18.48 kB / 0.8566 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.4686, allocations: 300.8 kB / 0.8569 GB, free: 7.09 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.002904/0.4715, allocations: 1.911 MB / 0.8588 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.472, allocations: 249.2 kB / 0.859 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.4722, allocations: 112.7 kB / 0.8591 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008994/0.4731, allocations: 0.8506 MB / 0.86 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.4732, allocations: 38.56 kB / 0.86 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.4732, allocations: 0 / 0.86 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.0007499/0.4739, allocations: 376.3 kB / 0.8604 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.474, allocations: 55.41 kB / 0.8604 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.4745, allocations: 478 kB / 0.8609 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.4746, allocations: 33.7 kB / 0.8609 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.4748, allocations: 268.4 kB / 0.8612 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.4749, allocations: 99.23 kB / 0.8613 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.475, allocations: 69.98 kB / 0.8613 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4752, allocations: 358.8 kB / 0.8617 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.4753, allocations: 96.59 kB / 0.8618 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.4756, allocations: 168.1 kB / 0.8619 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.476, allocations: 287.7 kB / 0.8622 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.476, allocations: 0 / 0.8622 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005974/0.4766, allocations: 361.1 kB / 0.8625 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4766, allocations: 4 kB / 0.8625 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.4766, allocations: 4 kB / 0.8625 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4766, allocations: 11.88 kB / 0.8626 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.4769, allocations: 75.89 kB / 0.8626 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4769, allocations: 4 kB / 0.8626 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.4772, allocations: 31.95 kB / 0.8627 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.4773, allocations: 23.98 kB / 0.8627 GB, free: 1.199 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.0002134/0.4775, allocations: 177.7 kB / 0.8629 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.4776, allocations: 51.67 kB / 0.8629 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008112/0.4784, allocations: 473 kB / 0.8634 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.4784, allocations: 11.92 kB / 0.8634 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4784, allocations: 0 / 0.8634 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006147/0.479, allocations: 0.5724 MB / 0.8639 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.4808, allocations: 1.157 MB / 0.8651 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.4808, allocations: 0 / 0.8651 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.4811, allocations: 59.91 kB / 0.8651 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4811, allocations: 4 kB / 0.8651 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.4811, allocations: 8 kB / 0.8651 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.4811, allocations: 4 kB / 0.8651 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4811, allocations: 192 / 0.8651 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.482, allocations: 0.6759 MB / 0.8658 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.4822, allocations: 184.6 kB / 0.866 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/0.4823, allocations: 8 kB / 0.866 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.4826, allocations: 8 kB / 0.866 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.4826, allocations: 27.91 kB / 0.866 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.4827, allocations: 15.98 kB / 0.866 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004215/0.4831, allocations: 342.9 kB / 0.8664 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.4831, allocations: 0 / 0.8664 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006486/0.4837, allocations: 199.6 kB / 0.8665 GB, free: 13.02 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.001724/0.4855, allocations: 1.412 MB / 0.8679 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000494/0.486, allocations: 275.7 kB / 0.8682 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.486, allocations: 0 / 0.8682 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.4862, allocations: 147.8 kB / 0.8683 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.4877, allocations: 326 kB / 0.8686 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.4931, allocations: 4.231 MB / 0.8728 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.4935, allocations: 0.8666 MB / 0.8736 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003503/0.4939, allocations: 112.7 kB / 0.8737 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.4942, allocations: 191.4 kB / 0.8739 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.4942, allocations: 4 kB / 0.8739 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04788/0.542, allocations: 17.13 MB / 0.8906 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.418, allocations: 15.86 kB / 0.8906 GB, free: 4.426 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.992040488999919]