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.0006689/0.0006689, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009711/0.00164, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001456/0.001456, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.00306, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.98/0.98, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09201/1.072, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 230.2 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00185/0.003973, allocations: 467.7 kB / 244.8 MB, free: 14.08 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7702/0.7702, allocations: 138.7 MB / 384.3 MB, free: 380 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07362/0.8438, allocations: 42.4 MB / 426.7 MB, free: 5.844 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.172e-06/1.172e-06, allocations: 0 / 428.1 MB, free: 4.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.317e-05, allocations: 6.25 kB / 428.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.2514/0.2515, allocations: 8.727 MB / 436.8 MB, free: 272 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00535/0.2568, allocations: 3.346 MB / 440.2 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008438/0.2576, allocations: 40.53 kB / 440.2 MB, free: 14.87 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.2581, allocations: 189.7 kB / 440.4 MB, free: 14.77 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.2596, allocations: 0.655 MB / 441 MB, free: 14.38 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.2609, allocations: 0.6381 MB / 441.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.263, allocations: 1.624 MB / 443.3 MB, free: 13.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009204/0.2639, allocations: 425.8 kB / 443.7 MB, free: 13.08 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.2651, allocations: 0.7993 MB / 444.5 MB, free: 12.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/0.2658, allocations: 388.3 kB / 444.9 MB, free: 12.65 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.2659, allocations: 44.44 kB / 444.9 MB, free: 12.65 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007495/0.2666, allocations: 274.4 kB / 445.2 MB, free: 12.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.2668, allocations: 119.7 kB / 445.3 MB, free: 12.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.267, allocations: 186.2 kB / 445.5 MB, free: 12.51 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009221/0.2679, allocations: 0.5639 MB / 446.1 MB, free: 12.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.2679, allocations: 1.922 kB / 446.1 MB, free: 12.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2679, allocations: 0.5938 kB / 446.1 MB, free: 12.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.2679, allocations: 0.6875 kB / 446.1 MB, free: 12.32 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.001302/0.2692, allocations: 0.9055 MB / 447 MB, free: 11.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2693, allocations: 9.938 kB / 447 MB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/0.2695, allocations: 168.8 kB / 447.2 MB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.2701, allocations: 419.8 kB / 447.6 MB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.2702, allocations: 34.7 kB / 447.6 MB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.2702, allocations: 39.28 kB / 447.6 MB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.2706, allocations: 390.1 kB / 448 MB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.2706, allocations: 5.219 kB / 448 MB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.2706, allocations: 15.94 kB / 448 MB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.2707, allocations: 9.844 kB / 448 MB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.2708, allocations: 133.3 kB / 448.2 MB, free: 11.04 MB / 426.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.001408/0.2722, allocations: 1.119 MB / 449.3 MB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.2726, allocations: 183.4 kB / 449.5 MB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.2726, allocations: 57.97 kB / 449.5 MB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.2728, allocations: 64.12 kB / 449.6 MB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.2728, allocations: 41.36 kB / 449.6 MB, free: 9.977 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.014e-06/0.2729, allocations: 0.5938 kB / 449.6 MB, free: 9.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002725/0.2731, allocations: 161.2 kB / 449.8 MB, free: 9.914 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.2731, allocations: 55.22 kB / 449.8 MB, free: 9.852 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.2735, allocations: 363.7 kB / 450.2 MB, free: 9.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.2735, allocations: 32.2 kB / 450.2 MB, free: 9.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2736, allocations: 233 kB / 450.5 MB, free: 9.375 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.2737, allocations: 103.1 kB / 450.6 MB, free: 9.285 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.2737, allocations: 67.05 kB / 450.6 MB, free: 9.238 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2738, allocations: 352.8 kB / 451 MB, free: 8.895 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/0.2739, allocations: 32.38 kB / 451 MB, free: 8.887 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.274, allocations: 181.4 kB / 451.2 MB, free: 8.707 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.2742, allocations: 160.3 kB / 451.3 MB, free: 8.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2742, allocations: 1.031 kB / 451.3 MB, free: 8.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002317/0.2744, allocations: 196.5 kB / 451.5 MB, free: 8.508 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2744, allocations: 5.594 kB / 451.5 MB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.2745, allocations: 4.594 kB / 451.5 MB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2745, allocations: 2.812 kB / 451.5 MB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.2747, allocations: 86.27 kB / 451.6 MB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.2747, allocations: 11.86 kB / 451.6 MB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.2748, allocations: 35.69 kB / 451.7 MB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.2748, allocations: 14.19 kB / 451.7 MB, free: 8.453 MB / 426.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 0.00011/0.275, allocations: 135 kB / 451.8 MB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.275, allocations: 37.3 kB / 451.9 MB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.2754, allocations: 265.2 kB / 452.1 MB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.2755, allocations: 6.844 kB / 452.1 MB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.2755, allocations: 0 / 452.1 MB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000205/0.2757, allocations: 383.5 kB / 452.5 MB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/0.2765, allocations: 0.6924 MB / 453.2 MB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.2765, allocations: 3.984 kB / 453.2 MB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.2767, allocations: 64.72 kB / 453.3 MB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.2768, allocations: 68.61 kB / 453.3 MB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2768, allocations: 4 kB / 453.3 MB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.2768, allocations: 11.98 kB / 453.3 MB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.2768, allocations: 6.5 kB / 453.3 MB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.2768, allocations: 4 kB / 453.3 MB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.2771, allocations: 417.5 kB / 453.8 MB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.2772, allocations: 8 kB / 453.8 MB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2773, allocations: 11.98 kB / 453.8 MB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.2773, allocations: 28.59 kB / 453.8 MB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.2773, allocations: 11.98 kB / 453.8 MB, free: 6.523 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.2775, allocations: 153.7 kB / 454 MB, free: 6.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2775, allocations: 0 / 454 MB, free: 6.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004787/0.278, allocations: 175.6 kB / 454.1 MB, free: 6.199 MB / 426.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.0003433/0.2783, allocations: 190.4 kB / 454.3 MB, free: 6.012 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.2785, allocations: 145.9 kB / 454.5 MB, free: 5.867 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/0.2785, allocations: 4.5 kB / 454.5 MB, free: 5.863 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.2787, allocations: 114.4 kB / 454.6 MB, free: 5.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.2799, allocations: 1.573 MB / 456.2 MB, free: 3.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.2837, allocations: 0.8739 MB / 457 MB, free: 2.988 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.215e-05/0.2838, allocations: 133.8 kB / 457.2 MB, free: 2.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000275/0.2841, allocations: 85.38 kB / 457.2 MB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/0.2845, allocations: 227 kB / 457.5 MB, free: 2.551 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2845, allocations: 0 / 457.5 MB, free: 2.551 MB / 426.7 MB Notification: Performance of Templates: time 0.01405/0.2985, allocations: 11.36 MB / 468.8 MB, free: 7.887 MB / 442.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.7394456043839455]