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.0009388/0.0009388, allocations: 92.22 kB / 19.65 MB, free: 276 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.001051/0.001051, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9197/0.9197, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001729/0.001729, allocations: 233.5 kB / 260.2 MB, free: 12.82 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.7249/0.7249, allocations: 138.4 MB / 455.2 MB, free: 1.527 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 1.543e-06/1.543e-06, allocations: 0 / 0.5551 GB, free: 0.5 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.767e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.00858/0.008597, allocations: 8.701 MB / 0.5636 GB, free: 7.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00806/0.01666, allocations: 3.306 MB / 0.5669 GB, free: 4.43 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.01797, allocations: 39.69 kB / 0.5669 GB, free: 4.391 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000813/0.01878, allocations: 186.5 kB / 0.5671 GB, free: 4.207 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.02132, allocations: 0.668 MB / 0.5677 GB, free: 3.535 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.02321, allocations: 0.6469 MB / 0.5684 GB, free: 2.887 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002326/0.02554, allocations: 1.64 MB / 0.57 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008153/0.02635, allocations: 410.2 kB / 0.5703 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.02807, allocations: 0.7581 MB / 0.5711 GB, free: 88 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008078/0.02888, allocations: 418.7 kB / 0.5715 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.029, allocations: 44 kB / 0.5715 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007226/0.02973, allocations: 263.4 kB / 0.5718 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.02989, allocations: 155.3 kB / 0.5719 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.0302, allocations: 215.5 kB / 0.5721 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.03141, allocations: 0.6151 MB / 0.5727 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.03142, allocations: 4 kB / 0.5727 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.054e-06/0.03142, allocations: 0 / 0.5727 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.538e-05/0.03144, allocations: 0 / 0.5727 GB, free: 14.39 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.001514/0.03296, allocations: 0.9001 MB / 0.5736 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.03301, allocations: 12.75 kB / 0.5736 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.03335, allocations: 112.4 kB / 0.5737 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.03395, allocations: 481.7 kB / 0.5742 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.03397, allocations: 29.38 kB / 0.5742 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.03403, allocations: 44.38 kB / 0.5743 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.03445, allocations: 423.9 kB / 0.5747 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.03447, allocations: 0 / 0.5747 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/0.0345, allocations: 16 kB / 0.5747 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.03453, allocations: 12 kB / 0.5747 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.03478, allocations: 157.8 kB / 0.5748 GB, free: 12.12 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.001568/0.03635, allocations: 1.602 MB / 0.5764 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.03667, allocations: 158.6 kB / 0.5766 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.03675, allocations: 63.66 kB / 0.5766 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.03696, allocations: 79.86 kB / 0.5767 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.03698, allocations: 41.39 kB / 0.5767 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.03699, allocations: 0 / 0.5767 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26): time 0.0003778/0.03736, allocations: 233.3 kB / 0.577 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.03739, allocations: 55.41 kB / 0.577 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.03771, allocations: 422.6 kB / 0.5774 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.03773, allocations: 29.7 kB / 0.5774 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.0379, allocations: 319.2 kB / 0.5778 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.03796, allocations: 107.2 kB / 0.5779 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.03803, allocations: 75.64 kB / 0.5779 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.03818, allocations: 0.5312 MB / 0.5784 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.03826, allocations: 44.62 kB / 0.5785 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.03841, allocations: 211.8 kB / 0.5787 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.03862, allocations: 193.3 kB / 0.5789 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.03862, allocations: 4 kB / 0.5789 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003088/0.03893, allocations: 265.2 kB / 0.5791 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.03894, allocations: 4 kB / 0.5791 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.03895, allocations: 4 kB / 0.5791 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.03896, allocations: 0 / 0.5791 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.03912, allocations: 83.83 kB / 0.5792 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.03913, allocations: 0 / 0.5792 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.03925, allocations: 32 kB / 0.5792 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.03928, allocations: 23.98 kB / 0.5793 GB, free: 7.344 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.0001171/0.03939, allocations: 180.5 kB / 0.5794 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.03945, allocations: 47.72 kB / 0.5795 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.03987, allocations: 321.3 kB / 0.5798 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.03988, allocations: 4 kB / 0.5798 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.03988, allocations: 0 / 0.5798 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002785/0.04016, allocations: 454.3 kB / 0.5802 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/0.04109, allocations: 0.8507 MB / 0.5811 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.04109, allocations: 0 / 0.5811 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.04122, allocations: 51.91 kB / 0.5811 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.04123, allocations: 7.938 kB / 0.5811 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.04125, allocations: 16.12 kB / 0.5811 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.04125, allocations: 4 kB / 0.5811 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.04125, allocations: 0 / 0.5811 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.04172, allocations: 0.4996 MB / 0.5816 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.04183, allocations: 79.59 kB / 0.5817 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.04186, allocations: 11.94 kB / 0.5817 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.04199, allocations: 11.98 kB / 0.5817 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.04202, allocations: 24.06 kB / 0.5817 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.04204, allocations: 23.97 kB / 0.5818 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001838/0.04223, allocations: 283 kB / 0.582 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.04223, allocations: 0 / 0.582 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004329/0.04266, allocations: 183.5 kB / 0.5822 GB, free: 4.133 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.0003324/0.04299, allocations: 198.9 kB / 0.5824 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.0433, allocations: 183.4 kB / 0.5826 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.0433, allocations: 0 / 0.5826 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.04343, allocations: 107.4 kB / 0.5827 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007627/0.0442, allocations: 270 kB / 0.5829 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.04561, allocations: 0.925 MB / 0.5838 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.083e-05/0.04569, allocations: 125.8 kB / 0.584 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002215/0.04591, allocations: 108.1 kB / 0.5841 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.04599, allocations: 48.48 kB / 0.5841 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of SimCode: time 9.81e-07/0.04599, allocations: 4 kB / 0.5841 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of Templates: time 0.01645/0.06244, allocations: 10.96 MB / 0.5948 GB, free: 7.379 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: 4.113343596924096]