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.001305/0.001305, allocations: 80.94 kB / 19.94 MB, free: 4.535 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.001283/0.001283, allocations: 181 kB / 23.36 MB, free: 1.121 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 0.9558/0.9558, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.001698/0.001698, allocations: 242.3 kB / 260.5 MB, free: 12.7 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.7008/0.7008, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.352e-06/1.352e-06, allocations: 0 / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.335e-05, allocations: 6.391 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.008204/0.008227, allocations: 8.65 MB / 471 MB, free: 9.965 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00491/0.01314, allocations: 3.345 MB / 474.3 MB, free: 6.645 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006799/0.01382, allocations: 40.88 kB / 474.4 MB, free: 6.605 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.01434, allocations: 178.6 kB / 474.5 MB, free: 6.43 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.01573, allocations: 0.6738 MB / 475.2 MB, free: 5.758 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.01696, allocations: 0.6497 MB / 475.9 MB, free: 5.113 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.0186, allocations: 1.626 MB / 477.5 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005878/0.01918, allocations: 405.4 kB / 477.9 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.02045, allocations: 0.7586 MB / 478.6 MB, free: 2.332 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005691/0.02102, allocations: 399.3 kB / 479 MB, free: 1.941 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.198e-05/0.02109, allocations: 48 kB / 479.1 MB, free: 1.895 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005027/0.0216, allocations: 264.4 kB / 479.3 MB, free: 1.637 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.02172, allocations: 147.4 kB / 479.5 MB, free: 1.492 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.02191, allocations: 216.7 kB / 479.7 MB, free: 1.281 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008142/0.02272, allocations: 0.6229 MB / 480.3 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.02273, allocations: 0 / 480.3 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02273, allocations: 0 / 480.3 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.02274, allocations: 0.6875 kB / 480.3 MB, free: 0.6562 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.0008548/0.02359, allocations: 0.7733 MB / 481.1 MB, free: 15.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.02362, allocations: 8.75 kB / 481.1 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.0238, allocations: 84.8 kB / 481.2 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.02432, allocations: 417.6 kB / 481.6 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.02434, allocations: 35.02 kB / 481.6 MB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.02439, allocations: 36.38 kB / 481.7 MB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.02473, allocations: 392.5 kB / 482 MB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.02474, allocations: 8.547 kB / 482.1 MB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.02477, allocations: 16 kB / 482.1 MB, free: 14.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.0248, allocations: 12.5 kB / 482.1 MB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.02495, allocations: 123.4 kB / 482.2 MB, free: 14.7 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.00129/0.02624, allocations: 1.117 MB / 483.3 MB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.02649, allocations: 181.9 kB / 483.5 MB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/0.02655, allocations: 52.59 kB / 483.5 MB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.02672, allocations: 70.61 kB / 483.6 MB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.02675, allocations: 38.56 kB / 483.7 MB, free: 13.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 2.394e-06/0.02675, allocations: 0 / 483.7 MB, free: 13.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002511/0.027, allocations: 171.4 kB / 483.8 MB, free: 13.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.02703, allocations: 55.41 kB / 483.9 MB, free: 12.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.02726, allocations: 362.1 kB / 484.2 MB, free: 12.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.02729, allocations: 33.7 kB / 484.3 MB, free: 12.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.02739, allocations: 225.4 kB / 484.5 MB, free: 12.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.02744, allocations: 100.5 kB / 484.6 MB, free: 12.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.02751, allocations: 69.95 kB / 484.6 MB, free: 12.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.0276, allocations: 362.6 kB / 485 MB, free: 11.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/0.02765, allocations: 35.45 kB / 485 MB, free: 11.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.02775, allocations: 178.1 kB / 485.2 MB, free: 11.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.02789, allocations: 159.7 kB / 485.4 MB, free: 11.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02789, allocations: 0 / 485.4 MB, free: 11.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002007/0.02809, allocations: 189.6 kB / 485.6 MB, free: 11.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.02811, allocations: 9 kB / 485.6 MB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.02811, allocations: 0 / 485.6 MB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.02813, allocations: 4 kB / 485.6 MB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.02827, allocations: 77.33 kB / 485.6 MB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.02828, allocations: 4 kB / 485.6 MB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.02839, allocations: 29.53 kB / 485.7 MB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.02841, allocations: 13.44 kB / 485.7 MB, free: 11.05 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.743e-05/0.02851, allocations: 128.5 kB / 485.8 MB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.02856, allocations: 40.52 kB / 485.9 MB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.02889, allocations: 271.1 kB / 486.1 MB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.0289, allocations: 9.719 kB / 486.1 MB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.0289, allocations: 0 / 486.1 MB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001872/0.02909, allocations: 384.6 kB / 486.5 MB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/0.02985, allocations: 0.6922 MB / 487.2 MB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.02986, allocations: 3.406 kB / 487.2 MB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.02997, allocations: 51.92 kB / 487.2 MB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.02997, allocations: 4 kB / 487.3 MB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.02999, allocations: 11.98 kB / 487.3 MB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.02999, allocations: 0 / 487.3 MB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.03, allocations: 10.84 kB / 487.3 MB, free: 9.355 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.03032, allocations: 408.4 kB / 487.7 MB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.541e-05/0.03042, allocations: 76.03 kB / 487.7 MB, free: 8.848 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.03045, allocations: 8.781 kB / 487.8 MB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.03056, allocations: 8 kB / 487.8 MB, free: 8.832 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.03059, allocations: 33.58 kB / 487.8 MB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.03061, allocations: 8.875 kB / 487.8 MB, free: 8.793 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.03073, allocations: 151.5 kB / 488 MB, free: 8.648 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03073, allocations: 0 / 488 MB, free: 8.648 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003759/0.0311, allocations: 184.3 kB / 488.1 MB, free: 8.469 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.0002715/0.03138, allocations: 186.8 kB / 488.3 MB, free: 8.285 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.03157, allocations: 145.6 kB / 488.5 MB, free: 8.145 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.03158, allocations: 4 kB / 488.5 MB, free: 8.141 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/0.03167, allocations: 89.19 kB / 488.5 MB, free: 8.051 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.03227, allocations: 251.5 kB / 488.8 MB, free: 7.828 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.03339, allocations: 0.8771 MB / 489.7 MB, free: 6.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.601e-05/0.03347, allocations: 125.8 kB / 489.8 MB, free: 6.785 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.03369, allocations: 81.52 kB / 489.9 MB, free: 6.715 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.03404, allocations: 239.7 kB / 490.1 MB, free: 6.48 MB / 442.7 MB Notification: Performance of SimCode: time 8.51e-07/0.03404, allocations: 0 / 490.1 MB, free: 6.48 MB / 442.7 MB Notification: Performance of Templates: time 0.01311/0.04715, allocations: 10.88 MB / 0.4892 GB, free: 12.18 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7959263431839645]