Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.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.0009709/0.0009709, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0009907/0.0009907, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.043/1.043, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.001656/0.001656, allocations: 237.5 kB / 261.3 MB, free: 12.66 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.6935/0.6935, allocations: 138.4 MB / 456.3 MB, free: 1.371 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.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=240,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=240,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 0.5563 GB, free: 260 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.655e-05, allocations: 2.312 kB / 0.5563 GB, free: 256 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002315/0.002331, allocations: 1.903 MB / 0.5582 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.00326, allocations: 0.7362 MB / 0.5589 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.003345, allocations: 7.938 kB / 0.5589 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.003528, allocations: 31.78 kB / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.003677, allocations: 59.59 kB / 0.559 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.003885, allocations: 83.77 kB / 0.5591 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.004149, allocations: 271.1 kB / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.768e-05/0.004247, allocations: 37.28 kB / 0.5594 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.004424, allocations: 151.7 kB / 0.5595 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.00455, allocations: 95.81 kB / 0.5596 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.004577, allocations: 16 kB / 0.5596 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.691e-05/0.004624, allocations: 20 kB / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.004679, allocations: 63.81 kB / 0.5597 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.004747, allocations: 79.83 kB / 0.5598 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.00495, allocations: 183.4 kB / 0.56 GB, free: 12.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004952, allocations: 4 kB / 0.56 GB, free: 12.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004953, allocations: 0 / 0.56 GB, free: 12.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004957, allocations: 0 / 0.56 GB, free: 12.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005308/0.005488, allocations: 0.5561 MB / 0.5605 GB, free: 11.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.005522, allocations: 12.75 kB / 0.5605 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.005644, allocations: 44.78 kB / 0.5606 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.005809, allocations: 152.4 kB / 0.5607 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.005822, allocations: 12.38 kB / 0.5607 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.00585, allocations: 12.38 kB / 0.5607 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.006019, allocations: 158.3 kB / 0.5609 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.006026, allocations: 192 / 0.5609 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.006039, allocations: 384 / 0.5609 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.006045, allocations: 7.938 kB / 0.5609 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.693e-05/0.006102, allocations: 32.69 kB / 0.5609 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.006641, allocations: 0.7056 MB / 0.5616 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.006949, allocations: 111 kB / 0.5617 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.00698, allocations: 19.69 kB / 0.5617 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.006994, allocations: 0 / 0.5617 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.007015, allocations: 49.47 kB / 0.5618 GB, free: 10.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 8.41e-07/0.007016, allocations: 0 / 0.5618 GB, free: 10.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001957/0.007212, allocations: 101.5 kB / 0.5619 GB, free: 10.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.007237, allocations: 55.41 kB / 0.5619 GB, free: 10.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.007369, allocations: 261.6 kB / 0.5622 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.007387, allocations: 33.7 kB / 0.5622 GB, free: 10 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.007466, allocations: 190.9 kB / 0.5624 GB, free: 9.812 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.00749, allocations: 39.72 kB / 0.5624 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.007556, allocations: 71.22 kB / 0.5625 GB, free: 9.695 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.007668, allocations: 0.5001 MB / 0.563 GB, free: 9.184 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.853e-05/0.007766, allocations: 105.6 kB / 0.5631 GB, free: 9.074 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.007881, allocations: 179.7 kB / 0.5633 GB, free: 8.867 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.008137, allocations: 327.3 kB / 0.5636 GB, free: 8.508 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008139, allocations: 0 / 0.5636 GB, free: 8.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000296/0.008435, allocations: 344.8 kB / 0.5639 GB, free: 8.152 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.008471, allocations: 57.83 kB / 0.564 GB, free: 8.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.008477, allocations: 7.938 kB / 0.564 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.008485, allocations: 0 / 0.564 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.008603, allocations: 51.91 kB / 0.564 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.008608, allocations: 4 kB / 0.564 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.008691, allocations: 27.73 kB / 0.564 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.008707, allocations: 12 kB / 0.5641 GB, free: 7.988 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: body.T[1]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[2]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[3]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[4]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[5]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.0001543/0.008862, allocations: 209.5 kB / 0.5643 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.008889, allocations: 11.91 kB / 0.5643 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.008919, allocations: 29.41 kB / 0.5643 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00892, allocations: 0 / 0.5643 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.008922, allocations: 0 / 0.5643 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.008926, allocations: 4 kB / 0.5643 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.009191, allocations: 129.2 kB / 0.5644 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009193, allocations: 0 / 0.5644 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.009313, allocations: 35.97 kB / 0.5645 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.009319, allocations: 7.984 kB / 0.5645 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.00933, allocations: 0 / 0.5645 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.009331, allocations: 0 / 0.5645 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.009333, allocations: 3.938 kB / 0.5645 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.009536, allocations: 263.7 kB / 0.5647 GB, free: 7.258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.009552, allocations: 15.89 kB / 0.5647 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.00957, allocations: 4 kB / 0.5647 GB, free: 7.238 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.459e-05/0.009625, allocations: 4 kB / 0.5647 GB, free: 7.234 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.009652, allocations: 11.92 kB / 0.5648 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.009657, allocations: 0 / 0.5648 GB, free: 7.223 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.00972, allocations: 176 kB / 0.5649 GB, free: 7.051 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00972, allocations: 0 / 0.5649 GB, free: 7.051 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.00991, allocations: 63.94 kB / 0.565 GB, free: 6.988 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body.T[1],body.T[2],body.T[3],body.T[4],body.T[5]) * 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 (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 7.185e-05/0.009982, allocations: 99.25 kB / 0.5651 GB, free: 6.883 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.01022, allocations: 276.2 kB / 0.5653 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.01022, allocations: 0 / 0.5653 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.01026, allocations: 31.67 kB / 0.5654 GB, free: 6.559 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.01046, allocations: 30.41 kB / 0.5654 GB, free: 6.531 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.01129, allocations: 0.5342 MB / 0.5659 GB, free: 5.965 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.448e-05/0.01133, allocations: 79.81 kB / 0.566 GB, free: 5.867 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.451e-05/0.01138, allocations: 16.97 kB / 0.566 GB, free: 5.844 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.01148, allocations: 98.19 kB / 0.5661 GB, free: 5.746 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01148, allocations: 0 / 0.5661 GB, free: 5.746 MB / 490.7 MB Notification: Performance of Templates: time 0.003897/0.01538, allocations: 2.555 MB / 0.5686 GB, free: 3.23 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5893931230530143]