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.001096/0.001096, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009759/0.0009759, 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 0.977/0.977, allocations: 177.1 MB / 203.8 MB, free: 5.289 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.002232/0.002232, allocations: 234.3 kB / 260.5 MB, free: 12.74 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.7509/0.7509, allocations: 138.4 MB / 455.4 MB, free: 1.535 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 2.184e-06/2.184e-06, allocations: 0 / 0.555 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.035e-05, allocations: 2.312 kB / 0.555 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004275/0.004306, allocations: 2.969 MB / 0.5579 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.005565, allocations: 0.7478 MB / 0.5586 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.00573, allocations: 19.81 kB / 0.5586 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.005952, allocations: 71.36 kB / 0.5587 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.006176, allocations: 122.9 kB / 0.5588 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.006418, allocations: 67.78 kB / 0.5589 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.006805, allocations: 389.8 kB / 0.5593 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.006983, allocations: 72.28 kB / 0.5593 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005067/0.00749, allocations: 223.4 kB / 0.5595 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.00765, allocations: 111.7 kB / 0.5597 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.00768, allocations: 20 kB / 0.5597 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.352e-05/0.007744, allocations: 28 kB / 0.5597 GB, free: 12.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.00778, allocations: 63.69 kB / 0.5598 GB, free: 12 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.00786, allocations: 103.8 kB / 0.5599 GB, free: 11.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.00814, allocations: 215.2 kB / 0.5601 GB, free: 11.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.008144, allocations: 0 / 0.5601 GB, free: 11.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.008146, allocations: 0 / 0.5601 GB, free: 11.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.008152, allocations: 8 kB / 0.5601 GB, free: 11.68 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.0005497/0.008702, allocations: 0.6129 MB / 0.5607 GB, free: 11.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.008741, allocations: 12.75 kB / 0.5607 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.008888, allocations: 64.69 kB / 0.5607 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.00914, allocations: 236.1 kB / 0.561 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.009156, allocations: 17.03 kB / 0.561 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.009197, allocations: 36.31 kB / 0.561 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.009448, allocations: 195.4 kB / 0.5612 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.009456, allocations: 192 / 0.5612 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.009474, allocations: 12.38 kB / 0.5612 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.009485, allocations: 11.88 kB / 0.5612 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.009643, allocations: 107.9 kB / 0.5613 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.01044, allocations: 0.6984 MB / 0.562 GB, free: 9.578 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.01088, allocations: 238.9 kB / 0.5622 GB, free: 9.332 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/0.01094, allocations: 39.67 kB / 0.5623 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.01095, allocations: 0 / 0.5623 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.01098, allocations: 45.38 kB / 0.5623 GB, free: 9.234 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.133e-06/0.01098, allocations: 0 / 0.5623 GB, free: 9.234 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005736/0.01155, allocations: 304.1 kB / 0.5626 GB, free: 8.914 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.01158, allocations: 59.34 kB / 0.5627 GB, free: 8.844 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.01177, allocations: 334.1 kB / 0.563 GB, free: 8.504 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.01179, allocations: 29.7 kB / 0.563 GB, free: 8.469 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.0119, allocations: 274.5 kB / 0.5633 GB, free: 8.191 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.01194, allocations: 63.47 kB / 0.5633 GB, free: 8.129 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.01201, allocations: 75.3 kB / 0.5634 GB, free: 8.047 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01212, allocations: 0.5118 MB / 0.5639 GB, free: 7.523 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-05/0.01219, allocations: 44.34 kB / 0.564 GB, free: 7.477 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.01232, allocations: 208.3 kB / 0.5642 GB, free: 7.211 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.0126, allocations: 327 kB / 0.5645 GB, free: 6.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.0126, allocations: 0 / 0.5645 GB, free: 6.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003881/0.01299, allocations: 376 kB / 0.5648 GB, free: 6.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.01301, allocations: 4 kB / 0.5648 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01301, allocations: 4 kB / 0.5648 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/0.01325, allocations: 94.78 kB / 0.5649 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.0134, allocations: 75.91 kB / 0.565 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.0159, allocations: 6.947 MB / 0.5718 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.016, allocations: 35.73 kB / 0.5718 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.01602, allocations: 19.98 kB / 0.5718 GB, free: 14.75 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.0001776/0.0162, allocations: 205.3 kB / 0.572 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.01623, allocations: 35.86 kB / 0.5721 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.01626, allocations: 34.19 kB / 0.5721 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.01626, allocations: 0 / 0.5721 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.01627, allocations: 4 kB / 0.5721 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01627, allocations: 0 / 0.5721 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.01646, allocations: 228.4 kB / 0.5723 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01646, allocations: 0 / 0.5723 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.01656, allocations: 35.98 kB / 0.5723 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001673/0.01673, allocations: 90.62 kB / 0.5724 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.01675, allocations: 11.97 kB / 0.5724 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.01904, allocations: 6.912 MB / 0.5792 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01904, allocations: 0 / 0.5792 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.01937, allocations: 390.4 kB / 0.5796 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.0194, allocations: 35.75 kB / 0.5796 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.01941, allocations: 7.922 kB / 0.5796 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.01948, allocations: 8 kB / 0.5796 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.01953, allocations: 23.84 kB / 0.5796 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.01953, allocations: 4 kB / 0.5796 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001083/0.01964, allocations: 215 kB / 0.5799 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01964, allocations: 0 / 0.5799 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002834/0.01992, allocations: 91.95 kB / 0.5799 GB, free: 5.852 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 9.429e-05/0.02002, allocations: 103.2 kB / 0.58 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005161/0.02053, allocations: 0.8246 MB / 0.5808 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02054, allocations: 4.062 kB / 0.5808 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.02087, allocations: 0.7256 MB / 0.5816 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.02112, allocations: 64.88 kB / 0.5816 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.02213, allocations: 0.6544 MB / 0.5823 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.037e-05/0.02219, allocations: 92.56 kB / 0.5823 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.534e-05/0.02227, allocations: 34.95 kB / 0.5824 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.02231, allocations: 24.5 kB / 0.5824 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.02231, allocations: 0 / 0.5824 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of Templates: time 0.005796/0.02811, allocations: 4.102 MB / 0.5864 GB, free: 15.12 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: 3.7710063229314983]