Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.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.0008677/0.0008677, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001453/0.001453, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005469/0.0005472, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7276/0.7281, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02228/0.7505, allocations: 21.35 MB / 0.9753 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00828/0.7588, allocations: 4.771 MB / 0.9799 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.7598, allocations: 24.75 kB / 0.98 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007702/0.7606, allocations: 199.5 kB / 0.9802 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.7626, allocations: 0.6451 MB / 0.9808 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.7645, allocations: 0.5879 MB / 0.9814 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002602/0.7671, allocations: 1.85 MB / 0.9832 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006364/0.7678, allocations: 367.2 kB / 0.9835 GB, free: 372 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.7688, allocations: 0.5102 MB / 0.984 GB, free: 92 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006326/0.7695, allocations: 419.7 kB / 0.9844 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.7695, allocations: 24.62 kB / 0.9844 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.7706, allocations: 300.6 kB / 0.9847 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.7707, allocations: 107.8 kB / 0.9848 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.7709, allocations: 131.8 kB / 0.985 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007812/0.7717, allocations: 0.6269 MB / 0.9856 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7717, allocations: 0 / 0.9856 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7717, allocations: 0 / 0.9856 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.7717, allocations: 3.938 kB / 0.9856 GB, free: 15.14 MB / 0.7481 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.001298/0.773, allocations: 0.7946 MB / 0.9863 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.7731, allocations: 9.344 kB / 0.9864 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.7733, allocations: 65.17 kB / 0.9864 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009482/0.7742, allocations: 0.5316 MB / 0.9869 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.7743, allocations: 37.69 kB / 0.987 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.7744, allocations: 41.09 kB / 0.987 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.775, allocations: 442.5 kB / 0.9874 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.7751, allocations: 0 / 0.9874 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.7751, allocations: 16 kB / 0.9874 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.7751, allocations: 15.95 kB / 0.9875 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.7756, allocations: 299.8 kB / 0.9877 GB, free: 13.24 MB / 0.7481 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.002461/0.7781, allocations: 1.931 MB / 0.9896 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.7786, allocations: 258.7 kB / 0.9899 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.7788, allocations: 124.8 kB / 0.99 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007718/0.7796, allocations: 0.8584 MB / 0.9908 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.7796, allocations: 46.44 kB / 0.9909 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.7796, allocations: 0 / 0.9909 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.0006436/0.7803, allocations: 366.9 kB / 0.9912 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.7803, allocations: 59.41 kB / 0.9913 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.7808, allocations: 458.1 kB / 0.9917 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.7809, allocations: 33.7 kB / 0.9918 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.7811, allocations: 268 kB / 0.992 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.7812, allocations: 90.66 kB / 0.9921 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.7812, allocations: 4 kB / 0.9921 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7813, allocations: 358.8 kB / 0.9924 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.7815, allocations: 96.59 kB / 0.9925 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.7817, allocations: 176 kB / 0.9927 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.7819, allocations: 120.5 kB / 0.9928 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7819, allocations: 4 kB / 0.9928 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005261/0.7825, allocations: 360.8 kB / 0.9932 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.7825, allocations: 10.03 kB / 0.9932 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7825, allocations: 0 / 0.9932 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.7825, allocations: 7.953 kB / 0.9932 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.7828, allocations: 67.91 kB / 0.9932 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.7828, allocations: 4.219 kB / 0.9933 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.7831, allocations: 55.45 kB / 0.9933 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.7832, allocations: 19.98 kB / 0.9933 GB, free: 7.117 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.7834, allocations: 173.8 kB / 0.9935 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.7835, allocations: 47.44 kB / 0.9935 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007714/0.7843, allocations: 476.8 kB / 0.994 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.7843, allocations: 11.98 kB / 0.994 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.7843, allocations: 7.953 kB / 0.994 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005252/0.7848, allocations: 0.5645 MB / 0.9946 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.7866, allocations: 1.153 MB / 0.9957 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.7866, allocations: 0 / 0.9957 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.7868, allocations: 55.91 kB / 0.9957 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.7868, allocations: 4 kB / 0.9957 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.7869, allocations: 15.98 kB / 0.9958 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.7869, allocations: 8.188 kB / 0.9958 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7869, allocations: 0 / 0.9958 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008247/0.7877, allocations: 0.6637 MB / 0.9964 GB, free: 3.738 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.7879, allocations: 184.2 kB / 0.9966 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.788, allocations: 11.98 kB / 0.9966 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.7883, allocations: 16 kB / 0.9966 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.7883, allocations: 19.97 kB / 0.9966 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.7884, allocations: 27.92 kB / 0.9967 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003963/0.7888, allocations: 334.9 kB / 0.997 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7888, allocations: 0 / 0.997 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006855/0.7895, allocations: 195.8 kB / 0.9972 GB, free: 2.949 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005891/0.7901, allocations: 271.3 kB / 0.9974 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.7905, allocations: 285.7 kB / 0.9977 GB, free: 2.402 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7906, allocations: 0 / 0.9977 GB, free: 2.402 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.7908, allocations: 159.8 kB / 0.9979 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.7923, allocations: 325.4 kB / 0.9982 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.7941, allocations: 1.347 MB / 0.9995 GB, free: 0.5391 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.7946, allocations: 0.863 MB / 1 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004065/0.795, allocations: 120.7 kB / 1 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.7951, allocations: 59.36 kB / 1 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of SimCode: time 4.81e-07/0.7951, allocations: 0 / 1 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of Templates: time 0.02076/0.8159, allocations: 11.15 MB / 1.011 GB, free: 4.496 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)