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.00123/0.00123, allocations: 114 kB / 17.09 MB, free: 5.988 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.001269/0.001269, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.241/1.241, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6836/0.6836, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.92 kB / 0.5584 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1135, allocations: 76.18 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02124/0.1347, allocations: 23.19 MB / 0.6554 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00672/0.1415, allocations: 5.092 MB / 0.6604 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006519/0.1422, allocations: 23.88 kB / 0.6604 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007566/0.143, allocations: 282 kB / 0.6607 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.1448, allocations: 0.789 MB / 0.6614 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1465, allocations: 0.7683 MB / 0.6622 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001859/0.1483, allocations: 1.607 MB / 0.6638 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007485/0.1491, allocations: 489.5 kB / 0.6642 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.1505, allocations: 0.6308 MB / 0.6648 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006913/0.1512, allocations: 446 kB / 0.6653 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.1513, allocations: 48 kB / 0.6653 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009503/0.1523, allocations: 499.1 kB / 0.6658 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.1525, allocations: 135.5 kB / 0.6659 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.1528, allocations: 310.5 kB / 0.6662 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.1541, allocations: 0.923 MB / 0.6671 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1541, allocations: 0 / 0.6671 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1541, allocations: 0 / 0.6671 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.1541, allocations: 0 / 0.6671 GB, free: 1.066 MB / 0.4981 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.001308/0.1554, allocations: 0.8842 MB / 0.668 GB, free: 136 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1555, allocations: 11.97 kB / 0.668 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.1557, allocations: 76.17 kB / 0.6681 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009959/0.1567, allocations: 0.5649 MB / 0.6686 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.1568, allocations: 36.94 kB / 0.6686 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.1568, allocations: 40 kB / 0.6687 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.1575, allocations: 448.6 kB / 0.6691 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1575, allocations: 0 / 0.6691 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.1576, allocations: 16 kB / 0.6691 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.1576, allocations: 12 kB / 0.6691 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.1581, allocations: 299.8 kB / 0.6694 GB, free: 14.58 MB / 0.5137 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.002468/0.1605, allocations: 1.919 MB / 0.6713 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.161, allocations: 246.8 kB / 0.6715 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.1612, allocations: 136.2 kB / 0.6717 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007811/0.162, allocations: 0.8466 MB / 0.6725 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.162, allocations: 38.56 kB / 0.6725 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 3.016e-06/0.162, allocations: 0 / 0.6725 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.0006561/0.1627, allocations: 360.9 kB / 0.6729 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.1627, allocations: 63.34 kB / 0.6729 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.1633, allocations: 481.9 kB / 0.6734 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.1633, allocations: 33.7 kB / 0.6734 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.1635, allocations: 260.1 kB / 0.6737 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.709e-05/0.1636, allocations: 90.66 kB / 0.6738 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1637, allocations: 73.92 kB / 0.6738 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1638, allocations: 358.8 kB / 0.6742 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.164, allocations: 100.5 kB / 0.6743 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.1642, allocations: 176.1 kB / 0.6744 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.1646, allocations: 286.6 kB / 0.6747 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1646, allocations: 0 / 0.6747 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005502/0.1652, allocations: 356.9 kB / 0.675 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1652, allocations: 4.219 kB / 0.6751 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1652, allocations: 8 kB / 0.6751 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1652, allocations: 4 kB / 0.6751 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.1655, allocations: 71.89 kB / 0.6751 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.1655, allocations: 15.88 kB / 0.6751 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.1657, allocations: 31.59 kB / 0.6752 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.1658, allocations: 19.98 kB / 0.6752 GB, free: 8.227 MB / 0.5137 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.0001945/0.166, allocations: 185.6 kB / 0.6754 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.092e-05/0.1661, allocations: 55.44 kB / 0.6754 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007337/0.1668, allocations: 464.8 kB / 0.6759 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005439/0.1674, allocations: 0.5762 MB / 0.6764 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1674, allocations: 7.938 kB / 0.6764 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.1676, allocations: 168.3 kB / 0.6766 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.1677, allocations: 8 kB / 0.6766 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.1679, allocations: 12.03 kB / 0.6766 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.168, allocations: 19.97 kB / 0.6766 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007232/0.1687, allocations: 460.2 kB / 0.6771 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008288/0.1695, allocations: 0.7471 MB / 0.6778 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002082/0.1698, allocations: 161.3 kB / 0.678 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003746/0.1701, allocations: 338.9 kB / 0.6783 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of Backend: time 3.21e-07/0.1701, allocations: 0 / 0.6783 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.1712, allocations: 447.8 kB / 0.6787 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002281/0.1735, allocations: 1.614 MB / 0.6803 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of Templates: time 0.01756/0.1911, allocations: 11.62 MB / 0.6916 GB, free: 7.383 MB / 0.5294 GB 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)