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.001122/0.001122, allocations: 89.06 kB / 19.65 MB, free: 268 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.0009435/0.0009435, allocations: 173 kB / 23.02 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.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.00161/0.00161, allocations: 237.7 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.7822/0.7822, allocations: 138.4 MB / 455.2 MB, free: 1.516 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 1.864e-06/1.864e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.182e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004695/0.004727, allocations: 2.977 MB / 0.558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.006083, allocations: 0.7556 MB / 0.5587 GB, free: 12.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.006259, allocations: 19.81 kB / 0.5587 GB, free: 12.76 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.006499, allocations: 67.38 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.00675, allocations: 134.8 kB / 0.5589 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.007011, allocations: 59.91 kB / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.007448, allocations: 389.8 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.007628, allocations: 76.22 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003396/0.007967, allocations: 219.5 kB / 0.5596 GB, free: 11.83 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.008158, allocations: 115.6 kB / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.008202, allocations: 24 kB / 0.5598 GB, free: 11.7 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.008285, allocations: 28 kB / 0.5598 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.008338, allocations: 59.75 kB / 0.5599 GB, free: 11.61 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.008451, allocations: 103.8 kB / 0.56 GB, free: 11.51 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.008769, allocations: 219.1 kB / 0.5602 GB, free: 11.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.008772, allocations: 0 / 0.5602 GB, free: 11.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.008773, allocations: 0 / 0.5602 GB, free: 11.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.008779, allocations: 0 / 0.5602 GB, free: 11.29 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.000847/0.009626, allocations: 0.6207 MB / 0.5608 GB, free: 10.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.009677, allocations: 8.75 kB / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.009914, allocations: 68.69 kB / 0.5609 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.01024, allocations: 224.1 kB / 0.5611 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.01027, allocations: 21.02 kB / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.01032, allocations: 32.27 kB / 0.5611 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.01069, allocations: 203.4 kB / 0.5613 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.0107, allocations: 192 / 0.5613 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.01073, allocations: 12.38 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.01074, allocations: 7.938 kB / 0.5613 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.01098, allocations: 107.9 kB / 0.5614 GB, free: 9.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.01215, allocations: 0.6983 MB / 0.5621 GB, free: 9.195 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.0128, allocations: 242.9 kB / 0.5623 GB, free: 8.945 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.01288, allocations: 31.67 kB / 0.5624 GB, free: 8.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.0129, allocations: 8 kB / 0.5624 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.01293, allocations: 41.33 kB / 0.5624 GB, free: 8.852 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.01293, allocations: 4 kB / 0.5624 GB, free: 8.848 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008342/0.01376, allocations: 304.2 kB / 0.5627 GB, free: 8.527 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.0138, allocations: 55.39 kB / 0.5628 GB, free: 8.461 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.01407, allocations: 338.1 kB / 0.5631 GB, free: 8.117 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.01409, allocations: 25.7 kB / 0.5631 GB, free: 8.086 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.01424, allocations: 278.5 kB / 0.5634 GB, free: 7.805 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.01429, allocations: 59.48 kB / 0.5634 GB, free: 7.746 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.01446, allocations: 75.3 kB / 0.5635 GB, free: 7.664 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.0146, allocations: 0.5079 MB / 0.564 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.01471, allocations: 48.34 kB / 0.5641 GB, free: 7.094 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.01489, allocations: 196.8 kB / 0.5642 GB, free: 6.836 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.01529, allocations: 335.1 kB / 0.5646 GB, free: 6.438 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01529, allocations: 0 / 0.5646 GB, free: 6.438 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005889/0.01588, allocations: 372.1 kB / 0.5649 GB, free: 6.051 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.0159, allocations: 4 kB / 0.5649 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01591, allocations: 4 kB / 0.5649 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/0.01624, allocations: 98.69 kB / 0.565 GB, free: 5.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.01648, allocations: 75.84 kB / 0.5651 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00354/0.02002, allocations: 6.951 MB / 0.5719 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.0202, allocations: 39.73 kB / 0.5719 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.02022, allocations: 16 kB / 0.5719 GB, free: 14.36 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.0002074/0.02043, allocations: 209.1 kB / 0.5721 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.02048, allocations: 31.86 kB / 0.5722 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.02052, allocations: 34.19 kB / 0.5722 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.02052, allocations: 0 / 0.5722 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.02053, allocations: 0 / 0.5722 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.02053, allocations: 8 kB / 0.5722 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.0208, allocations: 228.4 kB / 0.5724 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.0208, allocations: 0 / 0.5724 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.02096, allocations: 27.98 kB / 0.5724 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/0.02122, allocations: 102.6 kB / 0.5725 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.02124, allocations: 0 / 0.5725 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.02451, allocations: 6.923 MB / 0.5793 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.02451, allocations: 0 / 0.5793 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.02499, allocations: 398.2 kB / 0.5797 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.02503, allocations: 27.91 kB / 0.5797 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.02506, allocations: 15.92 kB / 0.5797 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.02518, allocations: 8 kB / 0.5797 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.02523, allocations: 11.97 kB / 0.5797 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.02525, allocations: 8 kB / 0.5798 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001594/0.02541, allocations: 211 kB / 0.58 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.02541, allocations: 0 / 0.58 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004708/0.02588, allocations: 95.95 kB / 0.58 GB, free: 5.461 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.000113/0.02599, allocations: 103.2 kB / 0.5801 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009903/0.02698, allocations: 0.8245 MB / 0.5809 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02698, allocations: 0 / 0.5809 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.02749, allocations: 0.7297 MB / 0.5817 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.02794, allocations: 59.86 kB / 0.5817 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.02956, allocations: 0.6576 MB / 0.5824 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.854e-05/0.02964, allocations: 92.61 kB / 0.5824 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.02975, allocations: 34.95 kB / 0.5825 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.02981, allocations: 24.5 kB / 0.5825 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of SimCode: time 1.362e-06/0.02981, allocations: 0 / 0.5825 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of Templates: time 0.008939/0.03875, allocations: 4.255 MB / 0.5867 GB, free: 14.57 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.084253360982984]