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.0009747/0.0009747, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001146/0.001146, allocations: 173 kB / 23.49 MB, free: 1.059 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.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.00186/0.00186, allocations: 237.5 kB / 260.5 MB, free: 12.88 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.7627/0.7627, allocations: 138.4 MB / 455.4 MB, free: 30.07 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.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.212e-06/1.212e-06, allocations: 0 / 0.555 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.524e-05, allocations: 6.312 kB / 0.555 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.00216/0.002175, allocations: 1.911 MB / 0.5568 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008951/0.00307, allocations: 0.7399 MB / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.003157, allocations: 4 kB / 0.5576 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.003355, allocations: 35.77 kB / 0.5576 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.003514, allocations: 63.53 kB / 0.5577 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.003729, allocations: 75.77 kB / 0.5577 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.004, allocations: 275.1 kB / 0.558 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.004104, allocations: 41.28 kB / 0.558 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.004287, allocations: 147.7 kB / 0.5582 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.004409, allocations: 95.83 kB / 0.5583 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.004435, allocations: 16 kB / 0.5583 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.426e-05/0.00448, allocations: 20 kB / 0.5583 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.004533, allocations: 63.81 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.004606, allocations: 75.83 kB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.004801, allocations: 183.4 kB / 0.5586 GB, free: 12.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.004805, allocations: 4 kB / 0.5586 GB, free: 12.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004805, allocations: 0 / 0.5586 GB, free: 12.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004809, allocations: 4 kB / 0.5586 GB, free: 12.79 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.0005323/0.005341, allocations: 0.5638 MB / 0.5592 GB, free: 12.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.005375, allocations: 9.938 kB / 0.5592 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.00549, allocations: 44.77 kB / 0.5592 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.00566, allocations: 172.4 kB / 0.5594 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.005672, allocations: 8.375 kB / 0.5594 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.005703, allocations: 16.38 kB / 0.5594 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.005892, allocations: 160.3 kB / 0.5596 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.005899, allocations: 192 / 0.5596 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.005912, allocations: 8.375 kB / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.00592, allocations: 7.938 kB / 0.5596 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.799e-05/0.005998, allocations: 42.48 kB / 0.5596 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.006593, allocations: 0.7442 MB / 0.5604 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.00694, allocations: 138.9 kB / 0.5605 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.006985, allocations: 27.67 kB / 0.5605 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.007002, allocations: 0 / 0.5605 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.007023, allocations: 37.39 kB / 0.5605 GB, free: 10.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.007024, allocations: 0 / 0.5605 GB, free: 10.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002238/0.007248, allocations: 117.6 kB / 0.5607 GB, free: 10.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.007276, allocations: 51.41 kB / 0.5607 GB, free: 10.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.00742, allocations: 265.5 kB / 0.561 GB, free: 10.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.007435, allocations: 25.7 kB / 0.561 GB, free: 10.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.007513, allocations: 198.9 kB / 0.5612 GB, free: 9.973 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.007537, allocations: 39.67 kB / 0.5612 GB, free: 9.934 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.007602, allocations: 67.34 kB / 0.5613 GB, free: 9.859 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.007795, allocations: 0.5001 MB / 0.5618 GB, free: 9.348 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.007934, allocations: 153.6 kB / 0.5619 GB, free: 9.191 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.008084, allocations: 224 kB / 0.5621 GB, free: 8.945 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.008443, allocations: 428.7 kB / 0.5625 GB, free: 8.492 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008445, allocations: 0 / 0.5625 GB, free: 8.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000363/0.008808, allocations: 452.7 kB / 0.563 GB, free: 8.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.008844, allocations: 61.55 kB / 0.563 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.008848, allocations: 0 / 0.563 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.008859, allocations: 8.156 kB / 0.563 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.008978, allocations: 43.97 kB / 0.5631 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.008984, allocations: 4 kB / 0.5631 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.757e-05/0.009071, allocations: 27.78 kB / 0.5631 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.009087, allocations: 12 kB / 0.5631 GB, free: 7.871 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.0001426/0.00923, allocations: 209.5 kB / 0.5633 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.009257, allocations: 19.84 kB / 0.5633 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.009285, allocations: 21.47 kB / 0.5634 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.009286, allocations: 0 / 0.5634 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.009289, allocations: 0 / 0.5634 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009292, allocations: 4 kB / 0.5634 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.009417, allocations: 172.5 kB / 0.5635 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.009418, allocations: 0 / 0.5635 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.009541, allocations: 35.92 kB / 0.5636 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.009542, allocations: 0 / 0.5636 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.009558, allocations: 15.92 kB / 0.5636 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009559, allocations: 0 / 0.5636 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00956, allocations: 0 / 0.5636 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.009767, allocations: 259.8 kB / 0.5638 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.009782, allocations: 11.91 kB / 0.5638 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.009803, allocations: 15.92 kB / 0.5638 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.009857, allocations: 8 kB / 0.5639 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.009896, allocations: 3.984 kB / 0.5639 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.009901, allocations: 4 kB / 0.5639 GB, free: 7.051 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.01001, allocations: 172.1 kB / 0.564 GB, free: 6.883 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01001, allocations: 4 kB / 0.564 GB, free: 6.879 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.0102, allocations: 63.89 kB / 0.5641 GB, free: 6.816 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 6.421e-05/0.01027, allocations: 102.8 kB / 0.5642 GB, free: 6.711 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.01056, allocations: 333.2 kB / 0.5645 GB, free: 6.363 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01056, allocations: 0 / 0.5645 GB, free: 6.363 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.0106, allocations: 31.61 kB / 0.5645 GB, free: 6.328 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.01081, allocations: 35.77 kB / 0.5646 GB, free: 6.293 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000886/0.01169, allocations: 0.5337 MB / 0.5651 GB, free: 5.727 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.01174, allocations: 79.81 kB / 0.5652 GB, free: 5.629 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.557e-05/0.01179, allocations: 24.95 kB / 0.5652 GB, free: 5.598 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.01183, allocations: 16.5 kB / 0.5652 GB, free: 5.582 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01183, allocations: 0 / 0.5652 GB, free: 5.582 MB / 490.7 MB Notification: Performance of Templates: time 0.003888/0.01572, allocations: 2.345 MB / 0.5675 GB, free: 3.293 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.689757716143504]