Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 104.6 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 187.4 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7867/0.7867, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.91 kB / 0.4912 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3895, allocations: 77.92 MB / 0.5673 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02255/0.4121, allocations: 23.21 MB / 0.5899 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007991/0.4201, allocations: 5.085 MB / 0.5949 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009029/0.4211, allocations: 28.94 kB / 0.5949 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008491/0.4219, allocations: 277 kB / 0.5952 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.424, allocations: 0.7881 MB / 0.596 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.4257, allocations: 0.7627 MB / 0.5967 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.4277, allocations: 1.61 MB / 0.5983 GB, free: 9.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006774/0.4284, allocations: 480.9 kB / 0.5987 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.4298, allocations: 0.6177 MB / 0.5993 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005827/0.4304, allocations: 450.4 kB / 0.5998 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.216e-05/0.4305, allocations: 45.31 kB / 0.5998 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.4317, allocations: 487 kB / 0.6003 GB, free: 8.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.4319, allocations: 139.2 kB / 0.6004 GB, free: 7.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.4322, allocations: 306.5 kB / 0.6007 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.4336, allocations: 0.9127 MB / 0.6016 GB, free: 7.133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4336, allocations: 0 / 0.6016 GB, free: 7.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4337, allocations: 1.125 kB / 0.6016 GB, free: 7.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.4337, allocations: 0 / 0.6016 GB, free: 7.133 MB / 446.1 MB 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.001332/0.435, allocations: 0.8847 MB / 0.6025 GB, free: 6.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.4351, allocations: 10.41 kB / 0.6025 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.864e-05/0.4352, allocations: 78.84 kB / 0.6026 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.4354, allocations: 71.61 kB / 0.6026 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008572/0.4363, allocations: 0.5412 MB / 0.6031 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.4363, allocations: 33.94 kB / 0.6032 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.4364, allocations: 41.33 kB / 0.6032 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.437, allocations: 442.6 kB / 0.6036 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.437, allocations: 0 / 0.6036 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.437, allocations: 19.94 kB / 0.6037 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.4371, allocations: 8 kB / 0.6037 GB, free: 5.406 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.4375, allocations: 307.8 kB / 0.604 GB, free: 5.105 MB / 446.1 MB 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.002133/0.4396, allocations: 1.927 MB / 0.6058 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.4401, allocations: 254.8 kB / 0.6061 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.4403, allocations: 128.7 kB / 0.6062 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006182/0.4409, allocations: 0.8466 MB / 0.607 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.4409, allocations: 42.56 kB / 0.6071 GB, free: 1.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.382e-06/0.4409, allocations: 0 / 0.6071 GB, free: 1.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.0005901/0.4415, allocations: 371.3 kB / 0.6074 GB, free: 1.215 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.4415, allocations: 55.41 kB / 0.6075 GB, free: 1.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.442, allocations: 470.1 kB / 0.6079 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.442, allocations: 33.7 kB / 0.608 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.4421, allocations: 267.9 kB / 0.6082 GB, free: 380 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.4422, allocations: 90.66 kB / 0.6083 GB, free: 288 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.4423, allocations: 73.97 kB / 0.6084 GB, free: 208 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4425, allocations: 358.8 kB / 0.6087 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4426, allocations: 96.59 kB / 0.6088 GB, free: 15.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.4429, allocations: 172 kB / 0.609 GB, free: 15.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.4433, allocations: 286.6 kB / 0.6092 GB, free: 15.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4433, allocations: 0 / 0.6092 GB, free: 15.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005935/0.4439, allocations: 360.9 kB / 0.6096 GB, free: 14.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4439, allocations: 4 kB / 0.6096 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4439, allocations: 4 kB / 0.6096 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.4439, allocations: 7.938 kB / 0.6096 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.4442, allocations: 79.83 kB / 0.6097 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.4442, allocations: 7.984 kB / 0.6097 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.4445, allocations: 35.53 kB / 0.6097 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.4446, allocations: 24.2 kB / 0.6097 GB, free: 14.73 MB / 462.1 MB 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.0002177/0.4448, allocations: 174 kB / 0.6099 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4449, allocations: 51.34 kB / 0.61 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008161/0.4457, allocations: 486.6 kB / 0.6104 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.4458, allocations: 11.92 kB / 0.6104 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4458, allocations: 0 / 0.6104 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005752/0.4464, allocations: 0.5647 MB / 0.611 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.448, allocations: 1.152 MB / 0.6121 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.448, allocations: 0 / 0.6121 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.4483, allocations: 51.97 kB / 0.6122 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4483, allocations: 8.125 kB / 0.6122 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.4483, allocations: 12 kB / 0.6122 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4483, allocations: 4 kB / 0.6122 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4483, allocations: 0 / 0.6122 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.4492, allocations: 0.6759 MB / 0.6128 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.4494, allocations: 168.5 kB / 0.613 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.4495, allocations: 8 kB / 0.613 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.4497, allocations: 12 kB / 0.613 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.4498, allocations: 23.91 kB / 0.6131 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.4498, allocations: 19.98 kB / 0.6131 GB, free: 11.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003723/0.4502, allocations: 346.9 kB / 0.6134 GB, free: 10.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4502, allocations: 0 / 0.6134 GB, free: 10.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006757/0.4509, allocations: 199.7 kB / 0.6136 GB, free: 10.56 MB / 462.1 MB 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.001544/0.4525, allocations: 1.392 MB / 0.615 GB, free: 9.137 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005494/0.453, allocations: 316 kB / 0.6153 GB, free: 8.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.453, allocations: 0 / 0.6153 GB, free: 8.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.4533, allocations: 159.8 kB / 0.6154 GB, free: 8.676 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.4548, allocations: 347.8 kB / 0.6157 GB, free: 8.355 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.4603, allocations: 4.292 MB / 0.6199 GB, free: 3.906 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.4607, allocations: 0.8666 MB / 0.6208 GB, free: 3.012 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004656/0.4612, allocations: 116.7 kB / 0.6209 GB, free: 2.898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.4615, allocations: 195.4 kB / 0.6211 GB, free: 2.707 MB / 462.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4615, allocations: 0 / 0.6211 GB, free: 2.707 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05334/0.5149, allocations: 16.85 MB / 0.6375 GB, free: 2.133 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.958, allocations: 11.86 kB / 0.6375 GB, free: 2.125 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)