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.001029/0.001029, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001201/0.001201, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.9679/0.9679, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001672/0.001672, allocations: 237.6 kB / 261.3 MB, free: 12.66 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.7917/0.7917, allocations: 138.4 MB / 456.3 MB, free: 29.93 MB / 410.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.733e-06/1.733e-06, allocations: 0 / 0.5564 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.301e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.009144/0.009167, allocations: 8.627 MB / 0.5648 GB, free: 7.203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005185/0.01435, allocations: 3.27 MB / 0.568 GB, free: 3.926 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006745/0.01503, allocations: 43.62 kB / 0.568 GB, free: 3.883 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.01558, allocations: 174.6 kB / 0.5682 GB, free: 3.711 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.01699, allocations: 0.6718 MB / 0.5688 GB, free: 3.035 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.01838, allocations: 0.6546 MB / 0.5695 GB, free: 2.379 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.02038, allocations: 1.628 MB / 0.5711 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.02106, allocations: 406.2 kB / 0.5715 GB, free: 356 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.02242, allocations: 0.756 MB / 0.5722 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006468/0.02306, allocations: 418.7 kB / 0.5726 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.826e-05/0.02314, allocations: 47.94 kB / 0.5726 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005969/0.02374, allocations: 259.5 kB / 0.5729 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.02387, allocations: 147.4 kB / 0.573 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.0241, allocations: 219.5 kB / 0.5732 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009804/0.02508, allocations: 0.619 MB / 0.5738 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.02509, allocations: 0 / 0.5738 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.253e-06/0.02509, allocations: 0 / 0.5738 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.0251, allocations: 0 / 0.5738 GB, free: 13.91 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.001116/0.02621, allocations: 0.9081 MB / 0.5747 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.02625, allocations: 13.94 kB / 0.5747 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.0265, allocations: 108.4 kB / 0.5748 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006399/0.02714, allocations: 473.6 kB / 0.5753 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.02717, allocations: 29.38 kB / 0.5753 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.02723, allocations: 48.38 kB / 0.5754 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.02767, allocations: 399.8 kB / 0.5758 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.02769, allocations: 0 / 0.5758 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.02772, allocations: 16 kB / 0.5758 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.02775, allocations: 11.98 kB / 0.5758 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.02797, allocations: 134.8 kB / 0.5759 GB, free: 11.68 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.001775/0.02974, allocations: 1.52 MB / 0.5774 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.03004, allocations: 155.3 kB / 0.5775 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.03011, allocations: 55.66 kB / 0.5776 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.03035, allocations: 67.94 kB / 0.5777 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.03037, allocations: 41.38 kB / 0.5777 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.03037, allocations: 0 / 0.5777 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26): time 0.0003967/0.03077, allocations: 215.2 kB / 0.5779 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.0308, allocations: 63.28 kB / 0.578 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.03115, allocations: 418.4 kB / 0.5784 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.03117, allocations: 29.7 kB / 0.5784 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.03136, allocations: 323.1 kB / 0.5787 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.03143, allocations: 107.1 kB / 0.5788 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/0.03153, allocations: 79.64 kB / 0.5789 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.03169, allocations: 0.5312 MB / 0.5794 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.03176, allocations: 32.62 kB / 0.5794 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.03192, allocations: 203.8 kB / 0.5796 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.03212, allocations: 177.3 kB / 0.5798 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.03213, allocations: 4 kB / 0.5798 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003467/0.03247, allocations: 245.1 kB / 0.58 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.03249, allocations: 14.64 kB / 0.58 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.0325, allocations: 0 / 0.58 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.03251, allocations: 4 kB / 0.58 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.03271, allocations: 71.91 kB / 0.5801 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.03271, allocations: 4.219 kB / 0.5801 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.03288, allocations: 35.78 kB / 0.5802 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.03291, allocations: 15.98 kB / 0.5802 GB, free: 7.086 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.0001323/0.03305, allocations: 176.5 kB / 0.5803 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.03313, allocations: 55.72 kB / 0.5804 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.03359, allocations: 302.1 kB / 0.5807 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.0336, allocations: 4 kB / 0.5807 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.0336, allocations: 4 kB / 0.5807 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003102/0.03391, allocations: 423.8 kB / 0.5811 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.03503, allocations: 0.7626 MB / 0.5818 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.03503, allocations: 0 / 0.5818 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.03519, allocations: 56.09 kB / 0.5819 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.0352, allocations: 4 kB / 0.5819 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.03522, allocations: 12 kB / 0.5819 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.03522, allocations: 0 / 0.5819 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.03523, allocations: 7.938 kB / 0.5819 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.03571, allocations: 479.8 kB / 0.5824 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.03584, allocations: 83.59 kB / 0.5824 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.03589, allocations: 8 kB / 0.5825 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.03606, allocations: 15.98 kB / 0.5825 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.0361, allocations: 27.78 kB / 0.5825 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.03612, allocations: 19.98 kB / 0.5825 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001942/0.03632, allocations: 263 kB / 0.5828 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.03632, allocations: 0 / 0.5828 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005689/0.03689, allocations: 183.5 kB / 0.5829 GB, free: 4.066 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.000342/0.03723, allocations: 202.9 kB / 0.5831 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.03752, allocations: 163.9 kB / 0.5833 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.03752, allocations: 4 kB / 0.5833 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.03765, allocations: 96.02 kB / 0.5834 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/0.03858, allocations: 276 kB / 0.5836 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.04, allocations: 0.9132 MB / 0.5845 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.0401, allocations: 129.8 kB / 0.5847 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.04036, allocations: 88.22 kB / 0.5847 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/0.04081, allocations: 282 kB / 0.585 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.04081, allocations: 0 / 0.585 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of Templates: time 0.01619/0.057, allocations: 11.01 MB / 0.5958 GB, free: 7.129 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: 3.9828603570349514]