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.0009902/0.0009902, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7309/0.7309, allocations: 123 MB / 415.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003478, allocations: 8 kB / 0.4933 GB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4181, allocations: 79.28 MB / 0.5707 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.0208/0.4389, allocations: 22.47 MB / 0.5927 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007929/0.4468, allocations: 5.076 MB / 0.5976 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007509/0.4476, allocations: 24.62 kB / 0.5977 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008321/0.4485, allocations: 222.6 kB / 0.5979 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.4508, allocations: 0.7356 MB / 0.5986 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.4529, allocations: 0.6769 MB / 0.5993 GB, free: 6.145 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003103/0.456, allocations: 2.177 MB / 0.6014 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006797/0.4567, allocations: 399.2 kB / 0.6018 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.4577, allocations: 0.528 MB / 0.6023 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006613/0.4584, allocations: 442.6 kB / 0.6027 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.4585, allocations: 21.78 kB / 0.6027 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.4596, allocations: 461.6 kB / 0.6032 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.4598, allocations: 108.7 kB / 0.6033 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.4601, allocations: 301.5 kB / 0.6035 GB, free: 4.391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.4615, allocations: 0.8929 MB / 0.6044 GB, free: 3.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4615, allocations: 0 / 0.6044 GB, free: 3.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4615, allocations: 1.312 kB / 0.6044 GB, free: 3.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.4616, allocations: 0 / 0.6044 GB, free: 3.941 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.001271/0.4628, allocations: 0.7762 MB / 0.6052 GB, free: 3.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4629, allocations: 13.97 kB / 0.6052 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.4631, allocations: 66.16 kB / 0.6053 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.4641, allocations: 0.5561 MB / 0.6058 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.4642, allocations: 36.66 kB / 0.6058 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.4643, allocations: 37.75 kB / 0.6059 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.465, allocations: 440.7 kB / 0.6063 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.4651, allocations: 0 / 0.6063 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.4651, allocations: 16.47 kB / 0.6063 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.4652, allocations: 10.12 kB / 0.6063 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.4657, allocations: 308.4 kB / 0.6066 GB, free: 2.289 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.002875/0.4686, allocations: 1.934 MB / 0.6085 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.4692, allocations: 255 kB / 0.6087 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.4694, allocations: 126.5 kB / 0.6089 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009548/0.4704, allocations: 0.8601 MB / 0.6097 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4704, allocations: 41.03 kB / 0.6097 GB, free: 15.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=26): time 2.405e-06/0.4704, allocations: 0 / 0.6097 GB, free: 15.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007606/0.4712, allocations: 373.9 kB / 0.6101 GB, free: 15.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.4712, allocations: 58.28 kB / 0.6102 GB, free: 15.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005898/0.4718, allocations: 464.9 kB / 0.6106 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.4719, allocations: 35.89 kB / 0.6106 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.4721, allocations: 262.8 kB / 0.6109 GB, free: 14.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.836e-05/0.4722, allocations: 98.64 kB / 0.611 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.4722, allocations: 32.11 kB / 0.611 GB, free: 14.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4724, allocations: 357 kB / 0.6113 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.4726, allocations: 95.58 kB / 0.6114 GB, free: 14.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.4728, allocations: 177.5 kB / 0.6116 GB, free: 13.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.4733, allocations: 280.7 kB / 0.6119 GB, free: 13.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4733, allocations: 4 kB / 0.6119 GB, free: 13.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006435/0.4739, allocations: 367.3 kB / 0.6122 GB, free: 13.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.474, allocations: 5.281 kB / 0.6122 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.474, allocations: 2.531 kB / 0.6122 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.474, allocations: 2.531 kB / 0.6122 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.4743, allocations: 76.88 kB / 0.6123 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.4743, allocations: 16.39 kB / 0.6123 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.4747, allocations: 41.12 kB / 0.6124 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.4748, allocations: 19.64 kB / 0.6124 GB, free: 13.51 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.0002353/0.475, allocations: 174.1 kB / 0.6125 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.4751, allocations: 47.69 kB / 0.6126 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009004/0.476, allocations: 477.2 kB / 0.6131 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.476, allocations: 16.08 kB / 0.6131 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4761, allocations: 0 / 0.6131 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000698/0.4768, allocations: 0.564 MB / 0.6136 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.479, allocations: 1.162 MB / 0.6148 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.479, allocations: 2.062 kB / 0.6148 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.4792, allocations: 46.98 kB / 0.6148 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.4793, allocations: 3.75 kB / 0.6148 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.4793, allocations: 12.27 kB / 0.6148 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.4793, allocations: 11.53 kB / 0.6148 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4793, allocations: 2.312 kB / 0.6148 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.4804, allocations: 0.6613 MB / 0.6155 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.4807, allocations: 186.9 kB / 0.6157 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.4808, allocations: 11.12 kB / 0.6157 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.4811, allocations: 17.67 kB / 0.6157 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.4812, allocations: 22.94 kB / 0.6157 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.4812, allocations: 19.75 kB / 0.6157 GB, free: 10.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004551/0.4817, allocations: 348.7 kB / 0.6161 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4817, allocations: 1.312 kB / 0.6161 GB, free: 10.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008041/0.4825, allocations: 191.4 kB / 0.6162 GB, free: 10.73 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.0006537/0.4831, allocations: 288.1 kB / 0.6165 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006455/0.4838, allocations: 281.3 kB / 0.6168 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4838, allocations: 1.188 kB / 0.6168 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.4842, allocations: 165 kB / 0.6169 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.4861, allocations: 317.2 kB / 0.6172 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.4883, allocations: 1.324 MB / 0.6185 GB, free: 9.215 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.4889, allocations: 0.8758 MB / 0.6194 GB, free: 8.426 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005339/0.4894, allocations: 117.1 kB / 0.6195 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.4896, allocations: 54.11 kB / 0.6196 GB, free: 8.355 MB / 462.1 MB Notification: Performance of SimCode: time 2.044e-06/0.4896, allocations: 0 / 0.6196 GB, free: 8.355 MB / 462.1 MB Notification: Performance of Templates: time 0.02031/0.5099, allocations: 11.5 MB / 0.6308 GB, free: 14.39 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)