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.001096/0.001096, allocations: 99.11 kB / 16.02 MB, free: 76 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.001191/0.001191, allocations: 182 kB / 16.92 MB, free: 6.918 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.332 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.366/2.366, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 16 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7066/0.707, allocations: 142.4 MB / 0.9557 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02199/0.729, allocations: 22.51 MB / 0.9777 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008141/0.7372, allocations: 5.045 MB / 0.9826 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.7384, allocations: 20.56 kB / 0.9826 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008589/0.7393, allocations: 229.1 kB / 0.9829 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.7416, allocations: 0.7312 MB / 0.9836 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.7436, allocations: 0.6898 MB / 0.9842 GB, free: 236 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002789/0.7464, allocations: 2.166 MB / 0.9864 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007144/0.7471, allocations: 396 kB / 0.9867 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.7483, allocations: 0.5328 MB / 0.9873 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006599/0.749, allocations: 440.9 kB / 0.9877 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.749, allocations: 22.12 kB / 0.9877 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.7502, allocations: 465.9 kB / 0.9881 GB, free: 14 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.7503, allocations: 121.3 kB / 0.9883 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.7507, allocations: 297 kB / 0.9885 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008534/0.7515, allocations: 0.6741 MB / 0.9892 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7516, allocations: 0 / 0.9892 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7516, allocations: 0 / 0.9892 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.7516, allocations: 0 / 0.9892 GB, free: 12.97 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.001304/0.7529, allocations: 0.7792 MB / 0.99 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.753, allocations: 16.02 kB / 0.99 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.7532, allocations: 60.28 kB / 0.99 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009486/0.7541, allocations: 0.5533 MB / 0.9906 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.7542, allocations: 32.94 kB / 0.9906 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.7542, allocations: 39.91 kB / 0.9906 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.755, allocations: 440.7 kB / 0.9911 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.755, allocations: 0 / 0.9911 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.7551, allocations: 19.98 kB / 0.9911 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.7551, allocations: 12 kB / 0.9911 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/0.7556, allocations: 303.8 kB / 0.9914 GB, free: 10.62 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.002694/0.7583, allocations: 1.923 MB / 0.9933 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.7588, allocations: 266.7 kB / 0.9935 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.759, allocations: 120.8 kB / 0.9936 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008789/0.7599, allocations: 0.8662 MB / 0.9945 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.7599, allocations: 30.56 kB / 0.9945 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 3.877e-06/0.76, allocations: 3.938 kB / 0.9945 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.0007203/0.7607, allocations: 374.8 kB / 0.9949 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.7607, allocations: 59.34 kB / 0.9949 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.7613, allocations: 466.1 kB / 0.9954 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.7614, allocations: 41.69 kB / 0.9954 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.7616, allocations: 264 kB / 0.9957 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/0.7617, allocations: 90.66 kB / 0.9957 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.7617, allocations: 33.7 kB / 0.9958 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.7619, allocations: 354.8 kB / 0.9961 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.7621, allocations: 96.59 kB / 0.9962 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.7623, allocations: 180 kB / 0.9964 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.7627, allocations: 275.2 kB / 0.9966 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7627, allocations: 0 / 0.9966 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005802/0.7633, allocations: 368.8 kB / 0.997 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.7633, allocations: 9.5 kB / 0.997 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.7634, allocations: 4 kB / 0.997 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.7634, allocations: 4 kB / 0.997 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.7637, allocations: 76.06 kB / 0.9971 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.7637, allocations: 4 kB / 0.9971 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.764, allocations: 47.52 kB / 0.9971 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.7641, allocations: 15.94 kB / 0.9971 GB, free: 4.277 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.7643, allocations: 181.8 kB / 0.9973 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.709e-05/0.7644, allocations: 47.44 kB / 0.9974 GB, free: 4.043 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008165/0.7652, allocations: 477 kB / 0.9978 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.7653, allocations: 7.938 kB / 0.9978 GB, free: 3.559 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7653, allocations: 4 kB / 0.9978 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005481/0.7658, allocations: 0.5645 MB / 0.9984 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.7677, allocations: 1.17 MB / 0.9995 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.7677, allocations: 0 / 0.9995 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.7679, allocations: 51.91 kB / 0.9996 GB, free: 1.609 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/0.7679, allocations: 4.188 kB / 0.9996 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.768, allocations: 12 kB / 0.9996 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.768, allocations: 7.984 kB / 0.9996 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.768, allocations: 3.938 kB / 0.9996 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.7688, allocations: 0.6638 MB / 1 GB, free: 0.8828 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.7691, allocations: 180.3 kB / 1 GB, free: 0.6875 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.7692, allocations: 8 kB / 1 GB, free: 0.6797 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.7695, allocations: 19.92 kB / 1 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.7695, allocations: 31.84 kB / 1 GB, free: 0.6289 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.7696, allocations: 23.92 kB / 1.001 GB, free: 0.6055 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004173/0.77, allocations: 342.9 kB / 1.001 GB, free: 280 kB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.77, allocations: 0 / 1.001 GB, free: 280 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006752/0.7707, allocations: 191.7 kB / 1.001 GB, free: 88 kB / 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 (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.0006938/0.7714, allocations: 291.7 kB / 1.001 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005191/0.772, allocations: 279.8 kB / 1.002 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.772, allocations: 0 / 1.002 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.7722, allocations: 172.5 kB / 1.002 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.774, allocations: 323.1 kB / 1.002 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.7761, allocations: 1.343 MB / 1.003 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.7766, allocations: 0.8629 MB / 1.004 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.7768, allocations: 63.36 kB / 1.004 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of SimCode: time 6.01e-07/0.7768, allocations: 0 / 1.004 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of Templates: time 0.0165/0.7933, allocations: 9.677 MB / 1.014 GB, free: 3.109 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)