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: translateModel(IBPSA.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") translateModel(IBPSA.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001636/0.001636, allocations: 186.4 kB / 17.2 MB, free: 5.953 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.386/1.386, 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.7868/0.7868, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 63.91 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4305, allocations: 77.93 MB / 0.5672 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02248/0.4531, allocations: 23.21 MB / 0.5898 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007282/0.4604, allocations: 5.083 MB / 0.5948 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.4615, allocations: 28.62 kB / 0.5948 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008413/0.4624, allocations: 277.6 kB / 0.5951 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.4644, allocations: 0.7895 MB / 0.5959 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.4664, allocations: 0.7565 MB / 0.5966 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.4684, allocations: 1.61 MB / 0.5982 GB, free: 9.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.4692, allocations: 491.5 kB / 0.5987 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.4707, allocations: 0.6155 MB / 0.5993 GB, free: 8.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.4713, allocations: 454.6 kB / 0.5997 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.746e-05/0.4714, allocations: 45.69 kB / 0.5997 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.4727, allocations: 486.4 kB / 0.6002 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.4729, allocations: 139.7 kB / 0.6003 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.4732, allocations: 310.5 kB / 0.6006 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.4744, allocations: 0.9129 MB / 0.6015 GB, free: 7.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4744, allocations: 0 / 0.6015 GB, free: 7.258 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4744, allocations: 4 kB / 0.6015 GB, free: 7.254 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.4745, allocations: 0 / 0.6015 GB, free: 7.254 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.001251/0.4757, allocations: 0.8804 MB / 0.6024 GB, free: 6.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.4758, allocations: 10.19 kB / 0.6024 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.4761, allocations: 67.16 kB / 0.6025 GB, free: 6.488 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/0.477, allocations: 0.5492 MB / 0.603 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.477, allocations: 32.94 kB / 0.603 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.4771, allocations: 39.98 kB / 0.6031 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.4776, allocations: 436.7 kB / 0.6035 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4777, allocations: 0 / 0.6035 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.4777, allocations: 19.98 kB / 0.6035 GB, free: 5.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.4777, allocations: 16 kB / 0.6035 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.4781, allocations: 299.8 kB / 0.6038 GB, free: 5.168 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.002003/0.4802, allocations: 1.927 MB / 0.6057 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.4806, allocations: 258.8 kB / 0.6059 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.4808, allocations: 124.8 kB / 0.606 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000588/0.4813, allocations: 0.8428 MB / 0.6069 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.4814, allocations: 46.48 kB / 0.6069 GB, free: 1.645 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.4814, allocations: 0 / 0.6069 GB, free: 1.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006027/0.482, allocations: 373.8 kB / 0.6073 GB, free: 1.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.482, allocations: 59.34 kB / 0.6073 GB, free: 1.207 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.4824, allocations: 474.1 kB / 0.6078 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.4825, allocations: 29.7 kB / 0.6078 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.4826, allocations: 264 kB / 0.6081 GB, free: 444 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.4827, allocations: 94.64 kB / 0.6081 GB, free: 348 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.4828, allocations: 70.02 kB / 0.6082 GB, free: 272 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4829, allocations: 358.8 kB / 0.6086 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.4831, allocations: 100.6 kB / 0.6087 GB, free: 15.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.4833, allocations: 179.9 kB / 0.6088 GB, free: 15.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.4838, allocations: 278.7 kB / 0.6091 GB, free: 15.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4838, allocations: 4 kB / 0.6091 GB, free: 15.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005551/0.4844, allocations: 360.8 kB / 0.6094 GB, free: 14.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4844, allocations: 6.188 kB / 0.6094 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4844, allocations: 4 kB / 0.6094 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.4844, allocations: 4 kB / 0.6095 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.4847, allocations: 76.05 kB / 0.6095 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4847, allocations: 8 kB / 0.6095 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.485, allocations: 39.53 kB / 0.6096 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.485, allocations: 15.98 kB / 0.6096 GB, free: 14.8 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.0001974/0.4853, allocations: 182 kB / 0.6098 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.4854, allocations: 55.34 kB / 0.6098 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007996/0.4862, allocations: 478.4 kB / 0.6103 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.4862, allocations: 7.922 kB / 0.6103 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4862, allocations: 4 kB / 0.6103 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005627/0.4868, allocations: 0.557 MB / 0.6108 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.4885, allocations: 1.156 MB / 0.612 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4885, allocations: 4.188 kB / 0.612 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.4887, allocations: 51.91 kB / 0.612 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.4888, allocations: 4 kB / 0.612 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.4888, allocations: 8 kB / 0.612 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.4888, allocations: 4 kB / 0.612 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4888, allocations: 3.938 kB / 0.612 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008606/0.4897, allocations: 0.6677 MB / 0.6127 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.4899, allocations: 172.3 kB / 0.6128 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.49, allocations: 11.98 kB / 0.6129 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.4902, allocations: 11.98 kB / 0.6129 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.4903, allocations: 31.91 kB / 0.6129 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.4903, allocations: 23.92 kB / 0.6129 GB, free: 11.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003909/0.4907, allocations: 342.9 kB / 0.6132 GB, free: 10.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4907, allocations: 0 / 0.6132 GB, free: 10.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000712/0.4915, allocations: 199.7 kB / 0.6134 GB, free: 10.62 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.0006257/0.4921, allocations: 294.5 kB / 0.6137 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005341/0.4926, allocations: 307.7 kB / 0.614 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4926, allocations: 0 / 0.614 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.4929, allocations: 168.5 kB / 0.6142 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.4944, allocations: 342.6 kB / 0.6145 GB, free: 9.555 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.4961, allocations: 1.073 MB / 0.6155 GB, free: 8.438 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.4966, allocations: 0.8704 MB / 0.6164 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004001/0.497, allocations: 112.7 kB / 0.6165 GB, free: 7.426 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4971, allocations: 59.36 kB / 0.6166 GB, free: 7.367 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4971, allocations: 4 kB / 0.6166 GB, free: 7.363 MB / 462.1 MB Notification: Performance of Templates: time 0.02061/0.5177, allocations: 12.15 MB / 0.6284 GB, free: 11.4 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)