Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.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.001205/0.001205, allocations: 89.06 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.001343/0.001343, allocations: 169 kB / 23.02 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 1.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.001655/0.001655, allocations: 237.8 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.7614/0.7614, allocations: 138.4 MB / 455.2 MB, free: 1.539 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.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.676e-06/3.676e-06, allocations: 4 kB / 0.5551 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.588e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004216/0.004252, allocations: 2.973 MB / 0.558 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.00551, allocations: 0.7594 MB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.005681, allocations: 19.81 kB / 0.5587 GB, free: 12.78 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.005908, allocations: 67.44 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.006134, allocations: 138.8 kB / 0.5589 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.006389, allocations: 59.91 kB / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.006759, allocations: 389.7 kB / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.006933, allocations: 72.28 kB / 0.5594 GB, free: 12.06 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.007248, allocations: 219.5 kB / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.00743, allocations: 111.6 kB / 0.5598 GB, free: 11.74 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.00747, allocations: 28 kB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.007546, allocations: 28 kB / 0.5598 GB, free: 11.68 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.007591, allocations: 55.75 kB / 0.5599 GB, free: 11.63 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.007701, allocations: 107.8 kB / 0.56 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.00801, allocations: 219.1 kB / 0.5602 GB, free: 11.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.008013, allocations: 3.938 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008014, allocations: 0 / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.008019, allocations: 0 / 0.5602 GB, free: 11.3 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006773/0.008696, allocations: 0.6169 MB / 0.5608 GB, free: 10.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.008736, allocations: 8.75 kB / 0.5608 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.008899, allocations: 64.69 kB / 0.5608 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.009203, allocations: 232.1 kB / 0.5611 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.009225, allocations: 21.03 kB / 0.5611 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.009275, allocations: 28.33 kB / 0.5611 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.009594, allocations: 195.3 kB / 0.5613 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.009604, allocations: 4.188 kB / 0.5613 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.009627, allocations: 8.375 kB / 0.5613 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.00964, allocations: 15.94 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.009855, allocations: 111.9 kB / 0.5614 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.01092, allocations: 0.6905 MB / 0.5621 GB, free: 9.215 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.01177, allocations: 246.9 kB / 0.5623 GB, free: 8.961 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.01184, allocations: 39.61 kB / 0.5624 GB, free: 8.918 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.01187, allocations: 4 kB / 0.5624 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.0119, allocations: 33.39 kB / 0.5624 GB, free: 8.871 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.0119, allocations: 0 / 0.5624 GB, free: 8.871 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007264/0.01262, allocations: 308 kB / 0.5627 GB, free: 8.551 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.01265, allocations: 55.41 kB / 0.5628 GB, free: 8.484 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.01292, allocations: 342.1 kB / 0.5631 GB, free: 8.137 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.01293, allocations: 29.7 kB / 0.5631 GB, free: 8.102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.01307, allocations: 274.5 kB / 0.5634 GB, free: 7.824 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.01312, allocations: 63.48 kB / 0.5634 GB, free: 7.762 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.01322, allocations: 79.3 kB / 0.5635 GB, free: 7.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.01336, allocations: 0.5079 MB / 0.564 GB, free: 7.156 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.01345, allocations: 40.34 kB / 0.5641 GB, free: 7.113 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.01363, allocations: 204.8 kB / 0.5642 GB, free: 6.848 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.01401, allocations: 323.1 kB / 0.5646 GB, free: 6.461 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.01401, allocations: 4 kB / 0.5646 GB, free: 6.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005199/0.01453, allocations: 368.1 kB / 0.5649 GB, free: 6.074 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.01455, allocations: 12 kB / 0.5649 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.01456, allocations: 7.984 kB / 0.5649 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002991/0.01486, allocations: 90.64 kB / 0.565 GB, free: 5.949 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.01507, allocations: 79.89 kB / 0.5651 GB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/0.01858, allocations: 6.947 MB / 0.5719 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.01875, allocations: 35.73 kB / 0.5719 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.01877, allocations: 16 kB / 0.5719 GB, free: 14.38 MB / 0.4948 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = 0.0 start = body1.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body2.T:VARIABLE(min = 0.0 start = body2.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body3.T:VARIABLE(min = 0.0 start = body3.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body4.T:VARIABLE(min = 0.0 start = body4.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body5.T:VARIABLE(min = 0.0 start = body5.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.01898, allocations: 209.7 kB / 0.5721 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.01903, allocations: 27.86 kB / 0.5722 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.01907, allocations: 34.19 kB / 0.5722 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01907, allocations: 0 / 0.5722 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.01908, allocations: 4 kB / 0.5722 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01908, allocations: 8 kB / 0.5722 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.01933, allocations: 232.3 kB / 0.5724 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01934, allocations: 0 / 0.5724 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.01948, allocations: 35.92 kB / 0.5725 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002233/0.01971, allocations: 86.69 kB / 0.5725 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.01972, allocations: 4 kB / 0.5725 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003254/0.02297, allocations: 6.92 MB / 0.5793 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.02298, allocations: 3.938 kB / 0.5793 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.02343, allocations: 394.2 kB / 0.5797 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.02346, allocations: 27.75 kB / 0.5797 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.02349, allocations: 11.94 kB / 0.5797 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.02359, allocations: 3.984 kB / 0.5797 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.02365, allocations: 24.03 kB / 0.5797 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.02366, allocations: 0 / 0.5797 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001517/0.02381, allocations: 219 kB / 0.5799 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.02381, allocations: 0 / 0.5799 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004725/0.02428, allocations: 87.95 kB / 0.58 GB, free: 5.488 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body1.T,body2.T,body3.T,body4.T,body5.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 (12): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001202/0.0244, allocations: 103.2 kB / 0.5801 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006876/0.02509, allocations: 0.8238 MB / 0.5809 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02509, allocations: 0 / 0.5809 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004174/0.02551, allocations: 0.7304 MB / 0.5816 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.0259, allocations: 64.88 kB / 0.5817 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.0272, allocations: 0.6586 MB / 0.5824 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.899e-05/0.02727, allocations: 92.61 kB / 0.5824 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.303e-05/0.02736, allocations: 26.97 kB / 0.5825 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.02741, allocations: 28.5 kB / 0.5825 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of SimCode: time 6.72e-07/0.02742, allocations: 4 kB / 0.5825 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of Templates: time 0.007959/0.03537, allocations: 4.094 MB / 0.5865 GB, free: 14.76 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.387852049432695]