Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002291/0.002291, allocations: 165 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.068/1.068, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001771/0.001771, allocations: 237.3 kB / 260.2 MB, free: 12.81 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.729/0.729, allocations: 138.4 MB / 455.2 MB, free: 1.48 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") translateModel(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.5551 GB, free: 468 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.14e-05, allocations: 6.25 kB / 0.5551 GB, free: 460 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.009599/0.009621, allocations: 8.701 MB / 0.5636 GB, free: 7.703 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.0131, allocations: 3.301 MB / 0.5669 GB, free: 4.387 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.01339, allocations: 35.69 kB / 0.5669 GB, free: 4.352 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.01373, allocations: 186.6 kB / 0.5671 GB, free: 4.168 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009304/0.01466, allocations: 0.6718 MB / 0.5677 GB, free: 3.492 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007212/0.01538, allocations: 0.643 MB / 0.5684 GB, free: 2.848 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.01646, allocations: 1.632 MB / 0.57 GB, free: 1.211 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.01682, allocations: 410.2 kB / 0.5703 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007723/0.0176, allocations: 0.7239 MB / 0.571 GB, free: 92 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.01797, allocations: 422.8 kB / 0.5715 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.01802, allocations: 48 kB / 0.5715 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.01833, allocations: 259.5 kB / 0.5717 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.01844, allocations: 159.3 kB / 0.5719 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.01859, allocations: 207.5 kB / 0.5721 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006022/0.01919, allocations: 0.6344 MB / 0.5727 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.01919, allocations: 0 / 0.5727 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.52e-07/0.0192, allocations: 0 / 0.5727 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.0192, allocations: 0 / 0.5727 GB, free: 14.38 MB / 0.4948 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.001094/0.02029, allocations: 0.9156 MB / 0.5736 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.02033, allocations: 8.75 kB / 0.5736 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002618/0.02059, allocations: 112.5 kB / 0.5737 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/0.02147, allocations: 0.5336 MB / 0.5742 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.0215, allocations: 29.38 kB / 0.5743 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/0.02157, allocations: 48.33 kB / 0.5743 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.02211, allocations: 423.9 kB / 0.5747 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.02213, allocations: 3.938 kB / 0.5747 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.02217, allocations: 16 kB / 0.5747 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.02219, allocations: 8 kB / 0.5748 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.02257, allocations: 161.8 kB / 0.5749 GB, free: 12.02 MB / 0.4948 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.002053/0.02462, allocations: 1.59 MB / 0.5765 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.02497, allocations: 166.2 kB / 0.5766 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.02509, allocations: 66.92 kB / 0.5767 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.02537, allocations: 67.94 kB / 0.5767 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.02541, allocations: 45.33 kB / 0.5768 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.02541, allocations: 0 / 0.5768 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26): time 0.0005068/0.02592, allocations: 237.3 kB / 0.577 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.02595, allocations: 55.41 kB / 0.5771 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.02638, allocations: 426.6 kB / 0.5775 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.02641, allocations: 29.7 kB / 0.5775 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.02661, allocations: 315.2 kB / 0.5778 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.02669, allocations: 107.2 kB / 0.5779 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.0268, allocations: 83.62 kB / 0.578 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.02698, allocations: 0.5235 MB / 0.5785 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.0271, allocations: 40.62 kB / 0.5785 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.02732, allocations: 223.8 kB / 0.5787 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.02756, allocations: 185.4 kB / 0.5789 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.02756, allocations: 4 kB / 0.5789 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004685/0.02803, allocations: 273.1 kB / 0.5792 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.02805, allocations: 4 kB / 0.5792 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.02805, allocations: 4 kB / 0.5792 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.02807, allocations: 7.938 kB / 0.5792 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.02832, allocations: 71.84 kB / 0.5793 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.02833, allocations: 8.219 kB / 0.5793 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.02852, allocations: 31.83 kB / 0.5793 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.02855, allocations: 12 kB / 0.5793 GB, free: 7.258 MB / 0.4948 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.0001495/0.0287, allocations: 180.4 kB / 0.5795 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/0.0288, allocations: 55.72 kB / 0.5795 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005916/0.02939, allocations: 317.4 kB / 0.5799 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.0294, allocations: 8 kB / 0.5799 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.0294, allocations: 0 / 0.5799 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004159/0.02982, allocations: 454.3 kB / 0.5803 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.03086, allocations: 0.8429 MB / 0.5811 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.03086, allocations: 0 / 0.5811 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.03099, allocations: 52.09 kB / 0.5812 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.03099, allocations: 8 kB / 0.5812 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.03101, allocations: 15.92 kB / 0.5812 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.03102, allocations: 4 kB / 0.5812 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03102, allocations: 0 / 0.5812 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.03145, allocations: 0.4996 MB / 0.5817 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.03155, allocations: 79.61 kB / 0.5818 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.03158, allocations: 19.92 kB / 0.5818 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.0317, allocations: 8 kB / 0.5818 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.03172, allocations: 19.95 kB / 0.5818 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.03174, allocations: 20 kB / 0.5818 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001764/0.03192, allocations: 279 kB / 0.5821 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03192, allocations: 0 / 0.5821 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003327/0.03225, allocations: 187.5 kB / 0.5823 GB, free: 4.051 MB / 0.4948 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0002379/0.03249, allocations: 202.8 kB / 0.5825 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.03274, allocations: 179.4 kB / 0.5826 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.03274, allocations: 0 / 0.5826 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.03285, allocations: 104.1 kB / 0.5827 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/0.03351, allocations: 280.2 kB / 0.583 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.03466, allocations: 0.9352 MB / 0.5839 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.546e-05/0.03473, allocations: 129.8 kB / 0.584 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.03492, allocations: 104.1 kB / 0.5841 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.035, allocations: 48.48 kB / 0.5842 GB, free: 2 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.035, allocations: 0 / 0.5842 GB, free: 2 MB / 0.4948 GB Notification: Performance of Templates: time 0.01132/0.04631, allocations: 9.645 MB / 0.5936 GB, free: 8.602 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.454083933029324]