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.001279/0.001279, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001442/0.001442, allocations: 170 kB / 23.27 MB, free: 1.223 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.041/1.041, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.001835/0.001835, allocations: 248.8 kB / 260.5 MB, free: 12.68 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.7793/0.7793, allocations: 138.4 MB / 455.5 MB, free: 30.04 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 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.064e-06/2.064e-06, allocations: 0 / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.018e-05, allocations: 5.547 kB / 0.5556 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.01046/0.01049, allocations: 8.612 MB / 0.564 GB, free: 7.188 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004271/0.01476, allocations: 3.278 MB / 0.5672 GB, free: 3.902 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000581/0.01534, allocations: 39.62 kB / 0.5673 GB, free: 3.863 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.01582, allocations: 178.6 kB / 0.5674 GB, free: 3.688 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.01717, allocations: 0.6757 MB / 0.5681 GB, free: 3.008 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.0184, allocations: 0.6391 MB / 0.5687 GB, free: 2.367 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.01971, allocations: 1.621 MB / 0.5703 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.02009, allocations: 422.1 kB / 0.5707 GB, free: 332 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008501/0.02094, allocations: 0.7602 MB / 0.5714 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/0.0213, allocations: 414.6 kB / 0.5718 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/0.02135, allocations: 48 kB / 0.5719 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003655/0.02172, allocations: 259.5 kB / 0.5721 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.003276/0.025, allocations: 147.4 kB / 0.5723 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.02529, allocations: 211.5 kB / 0.5725 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.02655, allocations: 0.6229 MB / 0.5731 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.02655, allocations: 4 kB / 0.5731 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.02655, allocations: 0 / 0.5731 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.02657, allocations: 0 / 0.5731 GB, free: 13.88 MB / 0.4948 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.001384/0.02795, allocations: 0.912 MB / 0.574 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.028, allocations: 9.938 kB / 0.574 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003092/0.02831, allocations: 108.4 kB / 0.5741 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008036/0.02911, allocations: 481.7 kB / 0.5745 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.02915, allocations: 29.38 kB / 0.5746 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.02921, allocations: 40.38 kB / 0.5746 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.02975, allocations: 399.8 kB / 0.575 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.02977, allocations: 3.938 kB / 0.575 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.0298, allocations: 16 kB / 0.575 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.02984, allocations: 12 kB / 0.575 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.03009, allocations: 130.8 kB / 0.5751 GB, free: 11.66 MB / 0.4948 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.002262/0.03236, allocations: 1.528 MB / 0.5766 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.03273, allocations: 159.8 kB / 0.5768 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.918e-05/0.03282, allocations: 52.53 kB / 0.5768 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.03311, allocations: 73.06 kB / 0.5769 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.03314, allocations: 37.39 kB / 0.5769 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 3.337e-06/0.03314, allocations: 0 / 0.5769 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26): time 0.0004782/0.03362, allocations: 221.8 kB / 0.5772 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.03365, allocations: 59.41 kB / 0.5772 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.03409, allocations: 418.4 kB / 0.5776 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.03411, allocations: 29.7 kB / 0.5776 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.03431, allocations: 323.1 kB / 0.5779 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/0.03439, allocations: 107.1 kB / 0.5781 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.03449, allocations: 71.66 kB / 0.5781 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.03467, allocations: 0.5312 MB / 0.5786 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.03475, allocations: 44.61 kB / 0.5787 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.03491, allocations: 199.8 kB / 0.5789 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.03544, allocations: 177.3 kB / 0.579 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.03544, allocations: 0 / 0.579 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004066/0.03585, allocations: 249.1 kB / 0.5793 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.03587, allocations: 12.22 kB / 0.5793 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.03588, allocations: 0 / 0.5793 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.03589, allocations: 4 kB / 0.5793 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.03612, allocations: 71.91 kB / 0.5794 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.03613, allocations: 7.984 kB / 0.5794 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.03633, allocations: 27.78 kB / 0.5794 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.03636, allocations: 12 kB / 0.5794 GB, free: 7.066 MB / 0.4948 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.0001603/0.03652, allocations: 176.5 kB / 0.5796 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/0.03661, allocations: 51.72 kB / 0.5796 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005298/0.03714, allocations: 314 kB / 0.5799 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.03715, allocations: 7.938 kB / 0.5799 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.03716, allocations: 0 / 0.5799 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003353/0.03749, allocations: 419.8 kB / 0.5803 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.03873, allocations: 0.7587 MB / 0.5811 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.03874, allocations: 4 kB / 0.5811 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.03892, allocations: 55.91 kB / 0.5811 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.03893, allocations: 0 / 0.5811 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.03895, allocations: 8 kB / 0.5811 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.03895, allocations: 4 kB / 0.5811 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.03896, allocations: 11.92 kB / 0.5812 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.03953, allocations: 480 kB / 0.5816 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.03968, allocations: 95.62 kB / 0.5817 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.03973, allocations: 8 kB / 0.5817 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.03993, allocations: 11.98 kB / 0.5817 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.03998, allocations: 27.84 kB / 0.5817 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.04001, allocations: 15.98 kB / 0.5818 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002253/0.04024, allocations: 271 kB / 0.582 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.04024, allocations: 0 / 0.582 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00068/0.04092, allocations: 179.5 kB / 0.5822 GB, free: 4.035 MB / 0.4948 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.0003905/0.04131, allocations: 202.9 kB / 0.5824 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000606/0.04191, allocations: 160.4 kB / 0.5825 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.04192, allocations: 0 / 0.5825 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.04206, allocations: 103.4 kB / 0.5826 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.04312, allocations: 261.4 kB / 0.5829 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.04499, allocations: 0.917 MB / 0.5838 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.04511, allocations: 133.7 kB / 0.5839 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000329/0.04544, allocations: 88.22 kB / 0.584 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/0.04599, allocations: 286 kB / 0.5843 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of SimCode: time 1.202e-06/0.04599, allocations: 0 / 0.5843 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of Templates: time 0.01958/0.06557, allocations: 10.87 MB / 0.5949 GB, free: 7.215 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: 3.9386346037499607]