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.0009946/0.0009946, allocations: 88.22 kB / 19.65 MB, free: 272 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.0009657/0.0009657, allocations: 177 kB / 23.03 MB, free: 1.535 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.059/1.059, 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.001977/0.001977, allocations: 238.3 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.7099/0.7099, allocations: 138.4 MB / 455.2 MB, free: 30 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.933e-06/1.933e-06, allocations: 3.938 kB / 0.5551 GB, free: 180 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.286e-05, allocations: 2.312 kB / 0.5551 GB, free: 176 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003001/0.003024, allocations: 1.923 MB / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.004245, allocations: 0.7399 MB / 0.5577 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.004347, allocations: 4 kB / 0.5577 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.004603, allocations: 31.77 kB / 0.5577 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.004828, allocations: 63.53 kB / 0.5578 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.005126, allocations: 83.77 kB / 0.5578 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.005505, allocations: 268.2 kB / 0.5581 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.005634, allocations: 41.28 kB / 0.5581 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.005899, allocations: 143.7 kB / 0.5583 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.00608, allocations: 103.8 kB / 0.5584 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.006121, allocations: 19.94 kB / 0.5584 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.006188, allocations: 20 kB / 0.5584 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.006258, allocations: 59.88 kB / 0.5585 GB, free: 12.67 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.006364, allocations: 79.83 kB / 0.5585 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.00664, allocations: 187.3 kB / 0.5587 GB, free: 12.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006643, allocations: 0 / 0.5587 GB, free: 12.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006644, allocations: 0 / 0.5587 GB, free: 12.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.006649, allocations: 0 / 0.5587 GB, free: 12.41 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.0007549/0.007404, allocations: 0.5639 MB / 0.5593 GB, free: 11.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.007447, allocations: 9.938 kB / 0.5593 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.007621, allocations: 40.78 kB / 0.5593 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.007862, allocations: 172.3 kB / 0.5595 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.007879, allocations: 8.375 kB / 0.5595 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.007921, allocations: 16.38 kB / 0.5595 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.008209, allocations: 164.4 kB / 0.5597 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.008218, allocations: 192 / 0.5597 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.008236, allocations: 4.375 kB / 0.5597 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.008251, allocations: 7.938 kB / 0.5597 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.008361, allocations: 46.48 kB / 0.5597 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/0.009219, allocations: 0.752 MB / 0.5605 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.009717, allocations: 138.9 kB / 0.5606 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.009777, allocations: 23.61 kB / 0.5606 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.009793, allocations: 4 kB / 0.5606 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.009818, allocations: 37.39 kB / 0.5606 GB, free: 10.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.00982, allocations: 0 / 0.5606 GB, free: 10.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002979/0.01012, allocations: 105.7 kB / 0.5607 GB, free: 10.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.01015, allocations: 55.34 kB / 0.5608 GB, free: 10.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.01035, allocations: 265.5 kB / 0.5611 GB, free: 9.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.01037, allocations: 37.7 kB / 0.5611 GB, free: 9.777 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.01047, allocations: 190.9 kB / 0.5613 GB, free: 9.582 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.01051, allocations: 43.67 kB / 0.5613 GB, free: 9.539 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.0106, allocations: 59.36 kB / 0.5614 GB, free: 9.473 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.01075, allocations: 0.504 MB / 0.5619 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.01095, allocations: 153.6 kB / 0.562 GB, free: 8.801 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.01116, allocations: 216.3 kB / 0.5622 GB, free: 8.559 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.01165, allocations: 432.7 kB / 0.5626 GB, free: 8.102 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01165, allocations: 0 / 0.5626 GB, free: 8.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005409/0.01219, allocations: 448.6 kB / 0.5631 GB, free: 7.645 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.01225, allocations: 65.59 kB / 0.5631 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01225, allocations: 4 kB / 0.5631 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.01227, allocations: 0 / 0.5631 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.01244, allocations: 39.98 kB / 0.5632 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.01245, allocations: 12.09 kB / 0.5632 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.01258, allocations: 35.77 kB / 0.5632 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.01261, allocations: 8 kB / 0.5632 GB, free: 7.477 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.000182/0.01279, allocations: 191.1 kB / 0.5634 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.01283, allocations: 23.83 kB / 0.5634 GB, free: 7.262 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.01287, allocations: 21.47 kB / 0.5634 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01287, allocations: 0 / 0.5634 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01288, allocations: 0 / 0.5634 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01288, allocations: 0 / 0.5634 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.01306, allocations: 176.5 kB / 0.5636 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01306, allocations: 8 kB / 0.5636 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.01325, allocations: 35.91 kB / 0.5636 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01325, allocations: 3.938 kB / 0.5637 GB, free: 6.988 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.01327, allocations: 11.92 kB / 0.5637 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01327, allocations: 0 / 0.5637 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01328, allocations: 0 / 0.5637 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.01357, allocations: 259.8 kB / 0.5639 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.0136, allocations: 15.91 kB / 0.5639 GB, free: 6.688 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.01362, allocations: 3.938 kB / 0.5639 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.01371, allocations: 7.984 kB / 0.5639 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.01376, allocations: 15.98 kB / 0.564 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.01376, allocations: 0 / 0.564 GB, free: 6.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.01387, allocations: 176.1 kB / 0.5641 GB, free: 6.488 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01387, allocations: 0 / 0.5641 GB, free: 6.488 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003278/0.01419, allocations: 63.88 kB / 0.5642 GB, free: 6.426 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 9.351e-05/0.01429, allocations: 99.25 kB / 0.5643 GB, free: 6.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.01471, allocations: 317.2 kB / 0.5646 GB, free: 5.988 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01471, allocations: 320 / 0.5646 GB, free: 5.988 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.01478, allocations: 44 kB / 0.5646 GB, free: 5.941 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.0151, allocations: 31.84 kB / 0.5647 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.01638, allocations: 0.5374 MB / 0.5652 GB, free: 5.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.275e-05/0.01644, allocations: 87.81 kB / 0.5653 GB, free: 5.234 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.775e-05/0.01653, allocations: 20.95 kB / 0.5653 GB, free: 5.207 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.01658, allocations: 16.5 kB / 0.5653 GB, free: 5.191 MB / 490.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01659, allocations: 0 / 0.5653 GB, free: 5.191 MB / 490.7 MB Notification: Performance of Templates: time 0.005295/0.02188, allocations: 2.434 MB / 0.5677 GB, free: 2.816 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.6735266661271453]