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.001831/0.001831, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002069/0.002069, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.003497/0.003497, allocations: 230 kB / 259.8 MB, free: 12.86 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 1.176/1.176, allocations: 138.5 MB / 454.7 MB, free: 1.516 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 2.915e-06/2.915e-06, allocations: 0 / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.27e-05/5.561e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.0504/0.05045, allocations: 23.97 MB / 0.5777 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.06504, allocations: 5.182 MB / 0.5828 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.06625, allocations: 39.69 kB / 0.5828 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.06788, allocations: 293.9 kB / 0.5831 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.072, allocations: 0.8546 MB / 0.584 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004039/0.07604, allocations: 0.8101 MB / 0.5848 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004127/0.08017, allocations: 1.645 MB / 0.5864 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.0814, allocations: 418.1 kB / 0.5868 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.08449, allocations: 0.8365 MB / 0.5876 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.0857, allocations: 414.7 kB / 0.588 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.08586, allocations: 48 kB / 0.588 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.08773, allocations: 426.9 kB / 0.5884 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.08805, allocations: 147.4 kB / 0.5886 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004914/0.08854, allocations: 223.4 kB / 0.5888 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.09104, allocations: 0.9502 MB / 0.5897 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.09105, allocations: 0 / 0.5897 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.174e-06/0.09105, allocations: 0 / 0.5897 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.09106, allocations: 0 / 0.5897 GB, free: 12.53 MB / 0.5105 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.002539/0.0936, allocations: 0.974 MB / 0.5907 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.09366, allocations: 8.75 kB / 0.5907 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005093/0.09417, allocations: 104.5 kB / 0.5908 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.09606, allocations: 0.5252 MB / 0.5913 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.164e-05/0.09612, allocations: 29.38 kB / 0.5913 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.09625, allocations: 48.33 kB / 0.5914 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.09768, allocations: 0.5233 MB / 0.5919 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.09771, allocations: 0 / 0.5919 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.385e-05/0.09778, allocations: 16 kB / 0.5919 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.09782, allocations: 8 kB / 0.5919 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009816/0.0988, allocations: 279.8 kB / 0.5922 GB, free: 9.918 MB / 0.5105 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.005055/0.1039, allocations: 1.792 MB / 0.5939 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/0.1048, allocations: 235.2 kB / 0.5941 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.1051, allocations: 99.64 kB / 0.5942 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008304/0.106, allocations: 95.91 kB / 0.5943 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/0.106, allocations: 45.38 kB / 0.5944 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 3.126e-06/0.106, allocations: 0 / 0.5944 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.00132/0.1074, allocations: 333.2 kB / 0.5947 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.1074, allocations: 55.39 kB / 0.5947 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.1086, allocations: 0.5065 MB / 0.5952 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.1086, allocations: 33.7 kB / 0.5953 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/0.1091, allocations: 331.2 kB / 0.5956 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.1093, allocations: 111.2 kB / 0.5957 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.1096, allocations: 87.62 kB / 0.5958 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005152/0.1101, allocations: 0.5547 MB / 0.5963 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.1104, allocations: 80.61 kB / 0.5964 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.111, allocations: 255.9 kB / 0.5966 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008825/0.1119, allocations: 285.2 kB / 0.5969 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1119, allocations: 4 kB / 0.5969 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001196/0.1131, allocations: 345.1 kB / 0.5972 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.1131, allocations: 8 kB / 0.5972 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1131, allocations: 0 / 0.5972 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/0.1131, allocations: 7.984 kB / 0.5972 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.1138, allocations: 71.91 kB / 0.5973 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.1138, allocations: 4 kB / 0.5973 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.1143, allocations: 32 kB / 0.5973 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-05/0.1143, allocations: 19.98 kB / 0.5974 GB, free: 4.332 MB / 0.5105 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.0004845/0.1148, allocations: 220.4 kB / 0.5976 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.115, allocations: 51.72 kB / 0.5976 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.1166, allocations: 400.5 kB / 0.598 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.1166, allocations: 8 kB / 0.598 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1166, allocations: 4 kB / 0.598 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001101/0.1177, allocations: 0.4945 MB / 0.5985 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/0.121, allocations: 0.9909 MB / 0.5995 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.121, allocations: 4 kB / 0.5995 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.1214, allocations: 51.91 kB / 0.5995 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.1214, allocations: 4.188 kB / 0.5995 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.1215, allocations: 19.94 kB / 0.5995 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.1215, allocations: 4 kB / 0.5995 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.1215, allocations: 7.984 kB / 0.5996 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.1232, allocations: 0.6109 MB / 0.6002 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.1236, allocations: 87.59 kB / 0.6002 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.1237, allocations: 15.92 kB / 0.6003 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/0.1241, allocations: 8 kB / 0.6003 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.1242, allocations: 19.95 kB / 0.6003 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.1243, allocations: 23.92 kB / 0.6003 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000732/0.125, allocations: 335.1 kB / 0.6006 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/0.125, allocations: 0 / 0.6006 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00122/0.1262, allocations: 219.3 kB / 0.6008 GB, free: 0.5898 MB / 0.5105 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.0008653/0.1271, allocations: 278.8 kB / 0.6011 GB, free: 316 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000976/0.1281, allocations: 260.5 kB / 0.6013 GB, free: 52 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1281, allocations: 0 / 0.6013 GB, free: 52 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.1772/0.3053, allocations: 142.5 kB / 0.6015 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.3067, allocations: 253.5 kB / 0.6017 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3081, allocations: 0.9723 MB / 0.6027 GB, free: 102 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.3083, allocations: 267.5 kB / 0.6029 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002669/0.3086, allocations: 101.8 kB / 0.603 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.841e-05/0.3087, allocations: 48.69 kB / 0.6031 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/0.3087, allocations: 0 / 0.6031 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.01721/0.3259, allocations: 10.84 MB / 0.6137 GB, free: 100.7 MB / 0.5105 GB " [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: 6.525512852007523]