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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 114.3 kB / 17.12 MB, free: 5.914 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.002059/0.002059, allocations: 195.7 kB / 20.08 MB, free: 2.977 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.436/1.436, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8262/0.8262, allocations: 129.2 MB / 432.5 MB, free: 13.07 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 79.88 kB / 0.5987 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.425, allocations: 83.43 MB / 0.6802 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02407/0.4491, allocations: 23.43 MB / 0.7031 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008271/0.4574, allocations: 5.085 MB / 0.708 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.4584, allocations: 28.31 kB / 0.7081 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009036/0.4593, allocations: 292.5 kB / 0.7083 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.4616, allocations: 0.8227 MB / 0.7091 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.4637, allocations: 0.78 MB / 0.7099 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002341/0.466, allocations: 1.614 MB / 0.7115 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006922/0.4667, allocations: 417 kB / 0.7119 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.4687, allocations: 0.717 MB / 0.7126 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007869/0.4695, allocations: 468.8 kB / 0.713 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.4696, allocations: 45.03 kB / 0.7131 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.471, allocations: 0.4955 MB / 0.7136 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.4713, allocations: 147.8 kB / 0.7137 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004979/0.4718, allocations: 306 kB / 0.714 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.4736, allocations: 0.9291 MB / 0.7149 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4737, allocations: 0 / 0.7149 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4737, allocations: 4 kB / 0.7149 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.4737, allocations: 4 kB / 0.7149 GB, free: 10.33 MB / 0.5294 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.001482/0.4751, allocations: 0.9029 MB / 0.7158 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4752, allocations: 8.031 kB / 0.7158 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.859e-05/0.4753, allocations: 74.72 kB / 0.7159 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.4755, allocations: 76.5 kB / 0.7159 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.4766, allocations: 0.5761 MB / 0.7165 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.4766, allocations: 29 kB / 0.7165 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.4767, allocations: 44 kB / 0.7166 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.4774, allocations: 436.7 kB / 0.717 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.4774, allocations: 7.984 kB / 0.717 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/0.4775, allocations: 19.98 kB / 0.717 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.4775, allocations: 8 kB / 0.717 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.478, allocations: 303.8 kB / 0.7173 GB, free: 7.75 MB / 0.5294 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.002781/0.4808, allocations: 1.919 MB / 0.7192 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.4813, allocations: 238.8 kB / 0.7194 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.4815, allocations: 117.8 kB / 0.7195 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008846/0.4824, allocations: 0.8544 MB / 0.7204 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.4824, allocations: 38.5 kB / 0.7204 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/0.4824, allocations: 0 / 0.7204 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.0007201/0.4831, allocations: 373.3 kB / 0.7208 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4832, allocations: 55.34 kB / 0.7208 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.4838, allocations: 482 kB / 0.7213 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.4838, allocations: 29.7 kB / 0.7213 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.484, allocations: 268.4 kB / 0.7215 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/0.4841, allocations: 99.17 kB / 0.7216 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.4842, allocations: 69.95 kB / 0.7217 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4844, allocations: 358.8 kB / 0.7221 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.4846, allocations: 100.6 kB / 0.7221 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.4848, allocations: 172.7 kB / 0.7223 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.4852, allocations: 278.7 kB / 0.7226 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4852, allocations: 3.938 kB / 0.7226 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006046/0.4858, allocations: 357.1 kB / 0.7229 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4858, allocations: 11.94 kB / 0.7229 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4858, allocations: 224 / 0.7229 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4859, allocations: 8 kB / 0.7229 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.4861, allocations: 75.89 kB / 0.723 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.4861, allocations: 7.938 kB / 0.723 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.4864, allocations: 35.73 kB / 0.7231 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.4864, allocations: 19.98 kB / 0.7231 GB, free: 1.398 MB / 0.5294 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.0002104/0.4867, allocations: 178.4 kB / 0.7232 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.4868, allocations: 55.61 kB / 0.7233 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008154/0.4876, allocations: 473.1 kB / 0.7237 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.4876, allocations: 7.984 kB / 0.7238 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4876, allocations: 48 / 0.7238 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005953/0.4882, allocations: 0.5652 MB / 0.7243 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.4901, allocations: 1.156 MB / 0.7254 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4901, allocations: 4.188 kB / 0.7254 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.4903, allocations: 51.97 kB / 0.7255 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.4903, allocations: 8 kB / 0.7255 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.4903, allocations: 8 kB / 0.7255 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.4903, allocations: 7.938 kB / 0.7255 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4903, allocations: 3.938 kB / 0.7255 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009127/0.4913, allocations: 0.6806 MB / 0.7262 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.4915, allocations: 172.6 kB / 0.7263 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/0.4916, allocations: 11.98 kB / 0.7264 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.4918, allocations: 8 kB / 0.7264 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.4919, allocations: 31.91 kB / 0.7264 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.4919, allocations: 15.98 kB / 0.7264 GB, free: 13.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004334/0.4923, allocations: 346.8 kB / 0.7267 GB, free: 13.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4923, allocations: 0 / 0.7267 GB, free: 13.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006511/0.493, allocations: 203.5 kB / 0.7269 GB, free: 13.21 MB / 0.545 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.001784/0.4948, allocations: 1.394 MB / 0.7283 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005361/0.4953, allocations: 279.7 kB / 0.7286 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4953, allocations: 0 / 0.7286 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.4956, allocations: 160.4 kB / 0.7287 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.4971, allocations: 329.5 kB / 0.729 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/0.5028, allocations: 4.226 MB / 0.7332 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.5033, allocations: 0.8627 MB / 0.734 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004216/0.5037, allocations: 120.7 kB / 0.7341 GB, free: 5.648 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.504, allocations: 191.4 kB / 0.7343 GB, free: 5.465 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/0.504, allocations: 0 / 0.7343 GB, free: 5.465 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04795/0.5519, allocations: 17.07 MB / 0.751 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.998/9.55, allocations: 14.22 kB / 0.751 GB, free: 4.66 MB / 0.5606 GB " [Timeout remaining time 650] (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 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.896730121225119] Failed to read output from testmodel.py, exit status != 0: 9.626834753900766 9.639161988 9.162765706 Calling exit ...