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.001293/0.001293, allocations: 77.55 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001393/0.001393, allocations: 159.6 kB / 23.01 MB, free: 4.949 MB / 14.72 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] 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.002442/0.002442, allocations: 239.7 kB / 260 MB, free: 428 kB / 238.1 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.926/0.926, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00307/0.00307, allocations: 95.84 kB / 0.6474 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4195, allocations: 95.34 MB / 0.7405 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02031/0.4398, allocations: 21.58 MB / 0.7615 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008967/0.4488, allocations: 4.737 MB / 0.7662 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.45, allocations: 40.91 kB / 0.7662 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.4511, allocations: 282.4 kB / 0.7665 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.4535, allocations: 0.8363 MB / 0.7673 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.4556, allocations: 0.7829 MB / 0.7681 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002328/0.4579, allocations: 1.635 MB / 0.7697 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00066/0.4586, allocations: 399.4 kB / 0.77 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.4603, allocations: 0.6446 MB / 0.7707 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007141/0.461, allocations: 448.9 kB / 0.7711 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-05/0.4611, allocations: 51.06 kB / 0.7711 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.4622, allocations: 415.2 kB / 0.7715 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.4624, allocations: 150.8 kB / 0.7717 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.4627, allocations: 255.6 kB / 0.7719 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.4641, allocations: 0.9318 MB / 0.7728 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4641, allocations: 0.875 kB / 0.7728 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4641, allocations: 0 / 0.7728 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.4641, allocations: 0.875 kB / 0.7728 GB, free: 10.68 MB / 0.6075 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.001402/0.4655, allocations: 0.8322 MB / 0.7736 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4656, allocations: 11 kB / 0.7737 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.4658, allocations: 70.42 kB / 0.7737 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.4669, allocations: 0.5052 MB / 0.7742 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.4669, allocations: 41.45 kB / 0.7743 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.492e-05/0.467, allocations: 45.45 kB / 0.7743 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/0.4678, allocations: 0.5029 MB / 0.7748 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.4678, allocations: 0 / 0.7748 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.4678, allocations: 16.62 kB / 0.7748 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.4679, allocations: 9.406 kB / 0.7748 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.4684, allocations: 303.5 kB / 0.7751 GB, free: 9.008 MB / 0.6075 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.002568/0.4709, allocations: 1.448 MB / 0.7765 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.4715, allocations: 234.3 kB / 0.7767 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.4716, allocations: 125 kB / 0.7769 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005033/0.4721, allocations: 108.4 kB / 0.777 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.4722, allocations: 33.31 kB / 0.777 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.873e-06/0.4722, allocations: 0 / 0.777 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007152/0.4729, allocations: 367 kB / 0.7773 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.4729, allocations: 55.72 kB / 0.7774 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/0.4734, allocations: 403.6 kB / 0.7778 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.4735, allocations: 32.67 kB / 0.7778 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.4737, allocations: 277.2 kB / 0.7781 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.143e-05/0.4738, allocations: 102.4 kB / 0.7782 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.4739, allocations: 70.89 kB / 0.7782 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4741, allocations: 352.5 kB / 0.7786 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.4743, allocations: 95.08 kB / 0.7787 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.4746, allocations: 245.1 kB / 0.7789 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.475, allocations: 285.8 kB / 0.7792 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.475, allocations: 1.031 kB / 0.7792 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005999/0.4756, allocations: 356.2 kB / 0.7795 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4756, allocations: 6.375 kB / 0.7795 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4756, allocations: 1.25 kB / 0.7795 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4756, allocations: 4.062 kB / 0.7795 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.4759, allocations: 87.02 kB / 0.7796 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.4759, allocations: 11.67 kB / 0.7796 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.4762, allocations: 28.28 kB / 0.7797 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.4763, allocations: 19.64 kB / 0.7797 GB, free: 5.637 MB / 0.6075 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.0002168/0.4765, allocations: 174.5 kB / 0.7798 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.211e-05/0.4766, allocations: 44.38 kB / 0.7799 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008443/0.4774, allocations: 475.6 kB / 0.7803 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4774, allocations: 4.125 kB / 0.7803 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.4774, allocations: 7.938 kB / 0.7803 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006549/0.4781, allocations: 0.5817 MB / 0.7809 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.4798, allocations: 0.9482 MB / 0.7818 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.4798, allocations: 9.219 kB / 0.7818 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.48, allocations: 51.62 kB / 0.7819 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.48, allocations: 2.438 kB / 0.7819 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.4801, allocations: 12.88 kB / 0.7819 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.4801, allocations: 6.922 kB / 0.7819 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4801, allocations: 2.25 kB / 0.7819 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.481, allocations: 0.6757 MB / 0.7826 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.4812, allocations: 92.98 kB / 0.7827 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.4812, allocations: 7.75 kB / 0.7827 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.4815, allocations: 17.19 kB / 0.7827 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.4815, allocations: 25.81 kB / 0.7827 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.4816, allocations: 15.5 kB / 0.7827 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003439/0.4819, allocations: 279.7 kB / 0.783 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4819, allocations: 1.25 kB / 0.783 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007954/0.4827, allocations: 207.6 kB / 0.7832 GB, free: 3.23 MB / 0.6075 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0005053/0.4832, allocations: 277.7 kB / 0.7835 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005396/0.4838, allocations: 291.1 kB / 0.7837 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4838, allocations: 1 kB / 0.7837 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.484, allocations: 155.5 kB / 0.7839 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.4853, allocations: 269.2 kB / 0.7841 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.4871, allocations: 1.059 MB / 0.7852 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.4874, allocations: 268 kB / 0.7854 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003329/0.4878, allocations: 100 kB / 0.7855 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4879, allocations: 55.94 kB / 0.7856 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of SimCode: time 8.91e-07/0.4879, allocations: 0 / 0.7856 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.01972/0.5076, allocations: 10.81 MB / 0.7961 GB, free: 9.531 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.343948777066544] Failed to read output from testmodel.py, exit status != 0: 0.5164496729848906 0.530538647 0.063260859 Calling exit ...