Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001063/0.001063, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002588, allocations: 449.8 kB / 10.44 MB, free: 252 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.001011/0.001011, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00135/0.002361, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9667/0.9667, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08416/1.051, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.962/1.962, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4943/2.457, allocations: 127.1 MB / 0.7435 GB, free: 4.543 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7448 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.086e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.007754/0.007775, allocations: 8.791 MB / 0.7534 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004884/0.01266, allocations: 3.338 MB / 0.7567 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005519/0.01321, allocations: 35.69 kB / 0.7567 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.01361, allocations: 183.6 kB / 0.7569 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.01492, allocations: 0.6539 MB / 0.7575 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.01601, allocations: 0.6319 MB / 0.7581 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.01755, allocations: 1.595 MB / 0.7597 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009398/0.01849, allocations: 418.1 kB / 0.7601 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.01976, allocations: 0.7933 MB / 0.7609 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.02029, allocations: 384.1 kB / 0.7612 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.02036, allocations: 44 kB / 0.7613 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.02089, allocations: 267.4 kB / 0.7615 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.021, allocations: 123.5 kB / 0.7617 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.02117, allocations: 180.3 kB / 0.7618 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007198/0.02189, allocations: 0.5689 MB / 0.7624 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.0219, allocations: 0 / 0.7624 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.253e-06/0.0219, allocations: 0.6875 kB / 0.7624 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.02192, allocations: 0 / 0.7624 GB, free: 1.281 MB / 0.7292 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.0009291/0.02285, allocations: 0.9057 MB / 0.7633 GB, free: 360 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.02288, allocations: 9.156 kB / 0.7633 GB, free: 352 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.02309, allocations: 161.9 kB / 0.7634 GB, free: 172 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.0236, allocations: 416.5 kB / 0.7638 GB, free: 15.74 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.02363, allocations: 33.31 kB / 0.7639 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.02367, allocations: 41.75 kB / 0.7639 GB, free: 15.67 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.02401, allocations: 392.5 kB / 0.7643 GB, free: 15.24 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.02402, allocations: 0 / 0.7643 GB, free: 15.24 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.02404, allocations: 16 kB / 0.7643 GB, free: 15.23 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.02407, allocations: 13.5 kB / 0.7643 GB, free: 15.21 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.02422, allocations: 121.6 kB / 0.7644 GB, free: 15.09 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.02544, allocations: 1.118 MB / 0.7655 GB, free: 13.95 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.02569, allocations: 190 kB / 0.7657 GB, free: 13.75 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.02574, allocations: 51.66 kB / 0.7657 GB, free: 13.7 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.02591, allocations: 67.94 kB / 0.7658 GB, free: 13.63 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.02593, allocations: 34.56 kB / 0.7658 GB, free: 13.59 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.02593, allocations: 0 / 0.7658 GB, free: 13.59 MB / 0.7449 GB Notification: Performance of matching and sorting (n=26): time 0.0002375/0.02617, allocations: 164.2 kB / 0.766 GB, free: 13.43 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.02619, allocations: 59.41 kB / 0.766 GB, free: 13.36 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.02641, allocations: 368.7 kB / 0.7664 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.02644, allocations: 33.7 kB / 0.7664 GB, free: 12.95 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/0.02653, allocations: 221.4 kB / 0.7666 GB, free: 12.72 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.02658, allocations: 99.14 kB / 0.7667 GB, free: 12.62 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.02665, allocations: 77.94 kB / 0.7668 GB, free: 12.54 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.02674, allocations: 354.7 kB / 0.7672 GB, free: 12.19 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.02679, allocations: 40.95 kB / 0.7672 GB, free: 12.15 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.874e-05/0.02689, allocations: 173.2 kB / 0.7674 GB, free: 11.94 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.02703, allocations: 163 kB / 0.7675 GB, free: 11.75 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.02704, allocations: 0 / 0.7675 GB, free: 11.75 MB / 0.7449 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002005/0.02724, allocations: 190.8 kB / 0.7677 GB, free: 11.56 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.02725, allocations: 4.656 kB / 0.7677 GB, free: 11.56 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.02726, allocations: 4 kB / 0.7677 GB, free: 11.55 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.02727, allocations: 0.875 kB / 0.7677 GB, free: 11.55 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.02746, allocations: 90.56 kB / 0.7678 GB, free: 11.47 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.02747, allocations: 4 kB / 0.7678 GB, free: 11.46 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.02758, allocations: 31.78 kB / 0.7678 GB, free: 11.43 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.0276, allocations: 8 kB / 0.7678 GB, free: 11.43 MB / 0.7449 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.0001169/0.02771, allocations: 136.5 kB / 0.768 GB, free: 11.28 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.02776, allocations: 35.97 kB / 0.768 GB, free: 11.25 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.02809, allocations: 268.6 kB / 0.7683 GB, free: 10.98 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.0281, allocations: 7.938 kB / 0.7683 GB, free: 10.97 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.0281, allocations: 0 / 0.7683 GB, free: 10.97 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000206/0.0283, allocations: 387.8 kB / 0.7686 GB, free: 10.52 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007685/0.02907, allocations: 0.6906 MB / 0.7693 GB, free: 9.789 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.02907, allocations: 0.5625 kB / 0.7693 GB, free: 9.789 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.02922, allocations: 60.97 kB / 0.7694 GB, free: 9.73 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.0293, allocations: 63.62 kB / 0.7694 GB, free: 9.668 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.0293, allocations: 4 kB / 0.7694 GB, free: 9.664 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.02932, allocations: 13.48 kB / 0.7694 GB, free: 9.652 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.02932, allocations: 3.938 kB / 0.7694 GB, free: 9.648 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.02932, allocations: 4 kB / 0.7694 GB, free: 9.645 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.02963, allocations: 417.7 kB / 0.7698 GB, free: 9.199 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.02967, allocations: 8 kB / 0.7699 GB, free: 9.191 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.02978, allocations: 13.8 kB / 0.7699 GB, free: 9.18 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.02981, allocations: 27.84 kB / 0.7699 GB, free: 9.152 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.02983, allocations: 15.92 kB / 0.7699 GB, free: 9.137 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0001176/0.02994, allocations: 151.5 kB / 0.7701 GB, free: 8.988 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.02994, allocations: 1 kB / 0.7701 GB, free: 8.988 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.00035/0.03029, allocations: 179.5 kB / 0.7702 GB, free: 8.812 MB / 0.7449 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.0002617/0.03056, allocations: 192.9 kB / 0.7704 GB, free: 8.617 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.03075, allocations: 162.2 kB / 0.7706 GB, free: 8.457 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.03077, allocations: 12.58 kB / 0.7706 GB, free: 8.445 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.03089, allocations: 113.3 kB / 0.7707 GB, free: 8.332 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.03193, allocations: 1.502 MB / 0.7721 GB, free: 6.57 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.03553, allocations: 0.8719 MB / 0.773 GB, free: 5.648 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.36e-05/0.0356, allocations: 125.8 kB / 0.7731 GB, free: 5.508 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.03581, allocations: 84.97 kB / 0.7732 GB, free: 5.43 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.03615, allocations: 227.1 kB / 0.7734 GB, free: 5.207 MB / 0.7449 GB Notification: Performance of SimCode: time 7.91e-07/0.03616, allocations: 4.781 kB / 0.7734 GB, free: 5.203 MB / 0.7449 GB Notification: Performance of Templates: time 0.01357/0.04972, allocations: 11.14 MB / 0.7843 GB, free: 10.39 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.275891258381307]