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.001002/0.001002, allocations: 112.3 kB / 16.41 MB, free: 6.492 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.001102/0.001102, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.25/1.25, allocations: 222.9 MB / 241 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.6847/0.6847, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 64.66 kB / 0.5577 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1335, allocations: 76.18 MB / 0.6321 GB, free: 4.523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.022/0.1556, allocations: 23.2 MB / 0.6547 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007093/0.1627, allocations: 5.081 MB / 0.6597 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006322/0.1634, allocations: 27.81 kB / 0.6597 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007372/0.1641, allocations: 274.1 kB / 0.66 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.1658, allocations: 0.7928 MB / 0.6608 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.1675, allocations: 0.7672 MB / 0.6615 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.1691, allocations: 1.613 MB / 0.6631 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005799/0.1697, allocations: 489.5 kB / 0.6636 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.1709, allocations: 0.6287 MB / 0.6642 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005211/0.1715, allocations: 446 kB / 0.6646 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.372e-05/0.1716, allocations: 44 kB / 0.6646 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008913/0.1725, allocations: 499.1 kB / 0.6651 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.1726, allocations: 143.5 kB / 0.6653 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.1729, allocations: 306.5 kB / 0.6655 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.174, allocations: 0.9231 MB / 0.6664 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.174, allocations: 0 / 0.6664 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.174, allocations: 0 / 0.6664 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.174, allocations: 0 / 0.6664 GB, free: 1.207 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.001163/0.1752, allocations: 0.8842 MB / 0.6673 GB, free: 280 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1752, allocations: 16.03 kB / 0.6673 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.1754, allocations: 68.17 kB / 0.6674 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008735/0.1763, allocations: 0.5727 MB / 0.668 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.1764, allocations: 32.94 kB / 0.668 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.249e-05/0.1764, allocations: 40 kB / 0.668 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006439/0.1771, allocations: 448.7 kB / 0.6684 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1771, allocations: 0 / 0.6684 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.1771, allocations: 16 kB / 0.6685 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.1772, allocations: 15.94 kB / 0.6685 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.1776, allocations: 299.8 kB / 0.6688 GB, free: 14.72 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.002323/0.18, allocations: 1.907 MB / 0.6706 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.1804, allocations: 260.3 kB / 0.6709 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1806, allocations: 124.3 kB / 0.671 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007676/0.1814, allocations: 0.8545 MB / 0.6718 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1814, allocations: 34.5 kB / 0.6719 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 1.362e-06/0.1815, allocations: 0 / 0.6719 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.0006224/0.1821, allocations: 368.9 kB / 0.6722 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.1821, allocations: 63.28 kB / 0.6723 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.1826, allocations: 481.9 kB / 0.6727 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.1827, allocations: 33.7 kB / 0.6728 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.1829, allocations: 256.1 kB / 0.673 GB, free: 10 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.1829, allocations: 94.64 kB / 0.6731 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.183, allocations: 77.92 kB / 0.6732 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1832, allocations: 354.8 kB / 0.6735 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.1833, allocations: 104.6 kB / 0.6736 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.1835, allocations: 164.1 kB / 0.6738 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.1839, allocations: 286.6 kB / 0.674 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1839, allocations: 0 / 0.674 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005153/0.1845, allocations: 361 kB / 0.6744 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1845, allocations: 8 kB / 0.6744 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1845, allocations: 4 kB / 0.6744 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1845, allocations: 0 / 0.6744 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.1848, allocations: 79.83 kB / 0.6745 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1848, allocations: 4 kB / 0.6745 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.185, allocations: 35.59 kB / 0.6745 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.1851, allocations: 19.98 kB / 0.6745 GB, free: 8.371 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.0001859/0.1853, allocations: 185.7 kB / 0.6747 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.1854, allocations: 51.47 kB / 0.6748 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007282/0.1861, allocations: 476.8 kB / 0.6752 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.1861, allocations: 15.92 kB / 0.6752 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.1861, allocations: 4 kB / 0.6752 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005232/0.1867, allocations: 0.5645 MB / 0.6758 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.1883, allocations: 1.149 MB / 0.6769 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1883, allocations: 4 kB / 0.6769 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.1885, allocations: 51.91 kB / 0.677 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1885, allocations: 0 / 0.677 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.1885, allocations: 12 kB / 0.677 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1885, allocations: 3.938 kB / 0.677 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.1885, allocations: 4 kB / 0.677 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000796/0.1893, allocations: 0.6754 MB / 0.6776 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.1895, allocations: 176.3 kB / 0.6778 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.1896, allocations: 11.98 kB / 0.6778 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.1899, allocations: 12 kB / 0.6778 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.1899, allocations: 23.97 kB / 0.6778 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.19, allocations: 23.86 kB / 0.6779 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003612/0.1903, allocations: 342.9 kB / 0.6782 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1903, allocations: 0 / 0.6782 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005765/0.1909, allocations: 199.8 kB / 0.6784 GB, free: 4.191 MB / 0.5137 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.0005498/0.1915, allocations: 295.4 kB / 0.6787 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.1919, allocations: 288 kB / 0.6789 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.192, allocations: 8.062 kB / 0.679 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.1922, allocations: 155.8 kB / 0.6791 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.1936, allocations: 338.8 kB / 0.6794 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1951, allocations: 1.063 MB / 0.6805 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.1955, allocations: 0.8627 MB / 0.6813 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003188/0.1958, allocations: 120.7 kB / 0.6814 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.1959, allocations: 59.36 kB / 0.6815 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of SimCode: time 4.2e-07/0.1959, allocations: 0 / 0.6815 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of Templates: time 0.01924/0.2152, allocations: 12.23 MB / 0.6934 GB, free: 4.895 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)