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.001426/0.001426, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001726/0.001726, allocations: 173 kB / 23.36 MB, free: 1.133 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.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.516 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.001745/0.001745, allocations: 242.3 kB / 260.5 MB, free: 12.73 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.7469/0.7469, allocations: 138.4 MB / 402.2 MB, free: 0.5547 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.173e-06/1.173e-06, allocations: 0 / 462.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.869e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.008114/0.008133, allocations: 8.701 MB / 471.1 MB, free: 9.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.01323, allocations: 3.338 MB / 474.4 MB, free: 6.613 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006872/0.01392, allocations: 35.69 kB / 474.4 MB, free: 6.578 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.01448, allocations: 194.4 kB / 474.6 MB, free: 6.387 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.01601, allocations: 0.6587 MB / 475.3 MB, free: 5.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.01734, allocations: 0.6485 MB / 475.9 MB, free: 5.086 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.01919, allocations: 1.626 MB / 477.6 MB, free: 3.457 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009856/0.02017, allocations: 419 kB / 478 MB, free: 3.055 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.02138, allocations: 0.7546 MB / 478.7 MB, free: 2.309 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.02192, allocations: 388.7 kB / 479.1 MB, free: 1.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/0.02199, allocations: 48 kB / 479.2 MB, free: 1.883 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005457/0.02253, allocations: 279.3 kB / 479.4 MB, free: 1.609 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.02264, allocations: 147.4 kB / 479.6 MB, free: 1.465 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.02281, allocations: 215.5 kB / 479.8 MB, free: 1.254 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000755/0.02357, allocations: 0.619 MB / 480.4 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.02357, allocations: 0.7812 kB / 480.4 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.02357, allocations: 0 / 480.4 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.02358, allocations: 0.625 kB / 480.4 MB, free: 0.6328 MB / 426.7 MB 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.0008558/0.02444, allocations: 0.7768 MB / 481.2 MB, free: 15.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.02448, allocations: 8.75 kB / 481.2 MB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.02467, allocations: 81.56 kB / 481.3 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.02521, allocations: 423.6 kB / 481.7 MB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.02524, allocations: 29.38 kB / 481.7 MB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.02528, allocations: 42.62 kB / 481.7 MB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.02565, allocations: 392.5 kB / 482.1 MB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.02566, allocations: 0.7188 kB / 482.1 MB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.02569, allocations: 16 kB / 482.1 MB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.02571, allocations: 16.69 kB / 482.2 MB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.02587, allocations: 124.1 kB / 482.3 MB, free: 14.67 MB / 442.7 MB 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.001322/0.02719, allocations: 1.117 MB / 483.4 MB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.02746, allocations: 182.6 kB / 483.6 MB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.02751, allocations: 48.59 kB / 483.6 MB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.0277, allocations: 70.31 kB / 483.7 MB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.02773, allocations: 44.8 kB / 483.7 MB, free: 13.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/0.02773, allocations: 0 / 483.7 MB, free: 13.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002556/0.02798, allocations: 164.1 kB / 483.9 MB, free: 13.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.02801, allocations: 56.28 kB / 484 MB, free: 12.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.02823, allocations: 364.8 kB / 484.3 MB, free: 12.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.02825, allocations: 39.48 kB / 484.4 MB, free: 12.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.02835, allocations: 221.4 kB / 484.6 MB, free: 12.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.0284, allocations: 99.14 kB / 484.7 MB, free: 12.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.02848, allocations: 77.94 kB / 484.7 MB, free: 12.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.02856, allocations: 350.7 kB / 485.1 MB, free: 11.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.02874, allocations: 32.03 kB / 485.1 MB, free: 11.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.02884, allocations: 181.8 kB / 485.3 MB, free: 11.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.02901, allocations: 156.1 kB / 485.4 MB, free: 11.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02901, allocations: 4 kB / 485.4 MB, free: 11.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002023/0.02921, allocations: 190.4 kB / 485.6 MB, free: 11.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.02923, allocations: 11.94 kB / 485.6 MB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.02924, allocations: 0 / 485.6 MB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.02925, allocations: 4 kB / 485.6 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.02943, allocations: 76.73 kB / 485.7 MB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.02943, allocations: 4 kB / 485.7 MB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.02954, allocations: 31.78 kB / 485.8 MB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.02956, allocations: 9.344 kB / 485.8 MB, free: 11.03 MB / 442.7 MB 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 9.231e-05/0.02965, allocations: 136.5 kB / 485.9 MB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.0297, allocations: 41.75 kB / 485.9 MB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.03002, allocations: 265.9 kB / 486.2 MB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.03003, allocations: 6.062 kB / 486.2 MB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.03003, allocations: 0.8438 kB / 486.2 MB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001923/0.03023, allocations: 387.4 kB / 486.6 MB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007918/0.03102, allocations: 0.6915 MB / 487.3 MB, free: 9.398 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.03102, allocations: 5.594 kB / 487.3 MB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.03117, allocations: 52.88 kB / 487.3 MB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.03117, allocations: 0 / 487.3 MB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.03119, allocations: 11.94 kB / 487.3 MB, free: 9.332 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.03119, allocations: 6 kB / 487.4 MB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.03119, allocations: 7.938 kB / 487.4 MB, free: 9.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.0316, allocations: 413.3 kB / 487.8 MB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.03171, allocations: 76.86 kB / 487.8 MB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.03174, allocations: 8.875 kB / 487.8 MB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.03186, allocations: 19.88 kB / 487.9 MB, free: 8.781 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.03189, allocations: 20.78 kB / 487.9 MB, free: 8.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.03191, allocations: 17.8 kB / 487.9 MB, free: 8.746 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.03204, allocations: 152.1 kB / 488.1 MB, free: 8.602 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03204, allocations: 0 / 488.1 MB, free: 8.602 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004474/0.03248, allocations: 176.8 kB / 488.2 MB, free: 8.43 MB / 442.7 MB 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.0002687/0.03275, allocations: 175.9 kB / 488.4 MB, free: 8.254 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.03296, allocations: 156.2 kB / 488.6 MB, free: 8.105 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.03297, allocations: 9.766 kB / 488.6 MB, free: 8.098 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.03332, allocations: 80.7 kB / 488.6 MB, free: 8.016 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.03394, allocations: 257 kB / 488.9 MB, free: 7.793 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.03516, allocations: 0.8781 MB / 489.8 MB, free: 6.891 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.03524, allocations: 126.8 kB / 489.9 MB, free: 6.746 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.03545, allocations: 89.69 kB / 490 MB, free: 6.672 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.03588, allocations: 239.7 kB / 490.2 MB, free: 6.438 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/0.03588, allocations: 4 kB / 490.2 MB, free: 6.434 MB / 442.7 MB Notification: Performance of Templates: time 0.01529/0.05118, allocations: 10.86 MB / 0.4893 GB, free: 12.13 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7937538120895624]