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.001808/0.001808, 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.001969/0.001969, 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.557/1.557, 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.003211/0.003211, allocations: 236.7 kB / 259.8 MB, free: 12.84 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.19/1.19, allocations: 138.4 MB / 454.7 MB, free: 1.512 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.403e-06/1.403e-06, allocations: 0 / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.267e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003515/0.003548, allocations: 1.864 MB / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.005017, allocations: 0.744 MB / 0.5569 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.005103, allocations: 0 / 0.5569 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.005344, allocations: 35.7 kB / 0.5569 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.005583, allocations: 67.53 kB / 0.557 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.005901, allocations: 71.83 kB / 0.557 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005841/0.006485, allocations: 286.9 kB / 0.5573 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.006623, allocations: 33.28 kB / 0.5573 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.006933, allocations: 151.7 kB / 0.5575 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.007179, allocations: 87.83 kB / 0.5576 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.194e-05/0.007241, allocations: 24 kB / 0.5576 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.273e-05/0.007334, allocations: 24 kB / 0.5576 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.007423, allocations: 59.81 kB / 0.5577 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.007557, allocations: 75.83 kB / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.007941, allocations: 255.2 kB / 0.558 GB, free: 13.12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.007946, allocations: 3.984 kB / 0.558 GB, free: 13.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.007947, allocations: 0 / 0.558 GB, free: 13.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.007952, allocations: 4 kB / 0.558 GB, free: 13.12 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.001015/0.008968, allocations: 0.5713 MB / 0.5585 GB, free: 12.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.009005, allocations: 8.75 kB / 0.5586 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.0092, allocations: 44.72 kB / 0.5586 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.009504, allocations: 164.4 kB / 0.5588 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.009521, allocations: 8.375 kB / 0.5588 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.009567, allocations: 16.33 kB / 0.5588 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.009931, allocations: 169.6 kB / 0.5589 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.009945, allocations: 8.172 kB / 0.5589 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.009965, allocations: 4.375 kB / 0.5589 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.009979, allocations: 7.938 kB / 0.559 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.01018, allocations: 68.61 kB / 0.559 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.01151, allocations: 0.7754 MB / 0.5598 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/0.01221, allocations: 139 kB / 0.5599 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.171e-05/0.0123, allocations: 31.61 kB / 0.5599 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.01233, allocations: 4 kB / 0.5599 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.01237, allocations: 37.39 kB / 0.56 GB, free: 10.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.01237, allocations: 0 / 0.56 GB, free: 10.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004089/0.01278, allocations: 125.5 kB / 0.5601 GB, free: 10.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.01283, allocations: 59.34 kB / 0.5602 GB, free: 10.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.01313, allocations: 301.4 kB / 0.5604 GB, free: 10.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.01316, allocations: 29.7 kB / 0.5605 GB, free: 10.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.01332, allocations: 191.2 kB / 0.5607 GB, free: 10.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.01336, allocations: 39.73 kB / 0.5607 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.01349, allocations: 79.3 kB / 0.5608 GB, free: 10.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002866/0.01378, allocations: 0.5118 MB / 0.5613 GB, free: 9.527 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.01406, allocations: 169.6 kB / 0.5614 GB, free: 9.355 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.0144, allocations: 235.8 kB / 0.5617 GB, free: 9.094 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007396/0.01514, allocations: 482.6 kB / 0.5621 GB, free: 8.586 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01514, allocations: 0 / 0.5621 GB, free: 8.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007833/0.01592, allocations: 468.7 kB / 0.5626 GB, free: 8.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/0.016, allocations: 61.61 kB / 0.5626 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01601, allocations: 0 / 0.5626 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01602, allocations: 4 kB / 0.5626 GB, free: 8.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.01627, allocations: 52.06 kB / 0.5627 GB, free: 7.988 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.01628, allocations: 4 kB / 0.5627 GB, free: 7.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.01647, allocations: 39.72 kB / 0.5627 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.01651, allocations: 8 kB / 0.5627 GB, free: 7.938 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.0003301/0.01684, allocations: 209.4 kB / 0.5629 GB, free: 7.727 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.01689, allocations: 15.84 kB / 0.5629 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.665e-05/0.01697, allocations: 21.47 kB / 0.563 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.01697, allocations: 0 / 0.563 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.01698, allocations: 0 / 0.563 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01698, allocations: 0 / 0.563 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.01728, allocations: 192.6 kB / 0.5631 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01729, allocations: 0 / 0.5631 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.01755, allocations: 35.98 kB / 0.5632 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.01756, allocations: 3.984 kB / 0.5632 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.01759, allocations: 11.92 kB / 0.5632 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01759, allocations: 3.938 kB / 0.5632 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.01759, allocations: 4 kB / 0.5632 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.01809, allocations: 283.8 kB / 0.5635 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.01814, allocations: 15.84 kB / 0.5635 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.01818, allocations: 7.938 kB / 0.5635 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.0183, allocations: 8 kB / 0.5635 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.01836, allocations: 7.984 kB / 0.5635 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.01837, allocations: 0 / 0.5635 GB, free: 7.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001963/0.01856, allocations: 188.1 kB / 0.5637 GB, free: 6.887 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01856, allocations: 0 / 0.5637 GB, free: 6.887 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004205/0.01899, allocations: 63.94 kB / 0.5637 GB, free: 6.824 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 0.0001831/0.01917, allocations: 103.2 kB / 0.5638 GB, free: 6.715 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007981/0.01997, allocations: 368.7 kB / 0.5642 GB, free: 6.332 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01997, allocations: 0 / 0.5642 GB, free: 6.332 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.02009, allocations: 43.61 kB / 0.5642 GB, free: 6.285 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.02041, allocations: 31.2 kB / 0.5643 GB, free: 6.258 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.02155, allocations: 0.5303 MB / 0.5648 GB, free: 5.695 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.02169, allocations: 119.4 kB / 0.5649 GB, free: 5.559 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.289e-05/0.02178, allocations: 20.95 kB / 0.5649 GB, free: 5.535 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.02185, allocations: 24.48 kB / 0.5649 GB, free: 5.512 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02185, allocations: 0 / 0.5649 GB, free: 5.512 MB / 490.7 MB Notification: Performance of Templates: time 0.006678/0.02853, allocations: 2.34 MB / 0.5672 GB, free: 3.211 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: 5.941228391020559]