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.0009246/0.0009246, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.0009682/0.0009682, allocations: 172.9 kB / 23.36 MB, free: 1.125 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.07/1.07, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.001989/0.001989, allocations: 254.2 kB / 260.5 MB, free: 12.69 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.6993/0.6993, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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.453e-06/1.453e-06, allocations: 0 / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.864e-05, allocations: 4.922 kB / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003113/0.003132, allocations: 2.95 MB / 465.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.004573, allocations: 0.7861 MB / 466 MB, free: 14.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.004783, allocations: 17.19 kB / 466 MB, free: 14.44 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.005013, allocations: 65.2 kB / 466.1 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.005283, allocations: 132.7 kB / 466.2 MB, free: 14.31 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.005592, allocations: 65.42 kB / 466.3 MB, free: 14.28 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000505/0.006097, allocations: 389.7 kB / 466.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.006284, allocations: 76.92 kB / 466.7 MB, free: 14.03 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.006669, allocations: 212 kB / 466.9 MB, free: 13.95 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.006864, allocations: 115 kB / 467.1 MB, free: 13.88 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.006899, allocations: 24 kB / 467.1 MB, free: 13.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.722e-05/0.006966, allocations: 30.81 kB / 467.1 MB, free: 13.83 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.007009, allocations: 58.95 kB / 467.2 MB, free: 13.78 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.851e-05/0.007097, allocations: 105.4 kB / 467.3 MB, free: 13.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.007322, allocations: 223.1 kB / 467.5 MB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.007324, allocations: 0 / 467.5 MB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007325, allocations: 0 / 467.5 MB, free: 13.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.00733, allocations: 0.7812 kB / 467.5 MB, free: 13.46 MB / 426.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.0004788/0.007808, allocations: 0.4958 MB / 468 MB, free: 12.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.007842, allocations: 10.12 kB / 468 MB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.007974, allocations: 52.89 kB / 468 MB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.008194, allocations: 193.2 kB / 468.2 MB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.008213, allocations: 23.03 kB / 468.3 MB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.008248, allocations: 28.33 kB / 468.3 MB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.008441, allocations: 185 kB / 468.5 MB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.00845, allocations: 192 / 468.5 MB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.008466, allocations: 12.38 kB / 468.5 MB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.008474, allocations: 11.94 kB / 468.5 MB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.008561, allocations: 78.12 kB / 468.6 MB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.009238, allocations: 0.5006 MB / 469.1 MB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.009608, allocations: 218.3 kB / 469.3 MB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.009644, allocations: 25.67 kB / 469.3 MB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.009661, allocations: 6.906 kB / 469.3 MB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.009684, allocations: 43.02 kB / 469.3 MB, free: 11.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.009685, allocations: 0 / 469.3 MB, free: 11.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004467/0.01013, allocations: 243.9 kB / 469.6 MB, free: 11.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.01016, allocations: 55.41 kB / 469.6 MB, free: 11.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.01031, allocations: 275 kB / 469.9 MB, free: 10.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.01032, allocations: 30.7 kB / 469.9 MB, free: 10.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.01041, allocations: 211.7 kB / 470.1 MB, free: 10.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.01044, allocations: 68.02 kB / 470.2 MB, free: 10.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.0105, allocations: 69.61 kB / 470.3 MB, free: 10.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.01059, allocations: 344.8 kB / 470.6 MB, free: 10.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.01062, allocations: 28.36 kB / 470.6 MB, free: 10.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.665e-05/0.01071, allocations: 143.5 kB / 470.8 MB, free: 9.992 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.01106, allocations: 251 kB / 471 MB, free: 9.703 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01107, allocations: 1.062 kB / 471 MB, free: 9.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000275/0.01134, allocations: 286 kB / 471.3 MB, free: 9.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01136, allocations: 5.094 kB / 471.3 MB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.01136, allocations: 4.703 kB / 471.3 MB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.01156, allocations: 83.44 kB / 471.4 MB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.01169, allocations: 71.89 kB / 471.5 MB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.01355, allocations: 4.635 MB / 476.1 MB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.01366, allocations: 43.69 kB / 476.1 MB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01368, allocations: 13.12 kB / 476.2 MB, free: 4.223 MB / 426.7 MB 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.000161/0.01384, allocations: 169.5 kB / 476.3 MB, free: 4.059 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.01387, allocations: 15.98 kB / 476.3 MB, free: 4.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.01389, allocations: 36.12 kB / 476.4 MB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.0139, allocations: 1.312 kB / 476.4 MB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.0139, allocations: 7.938 kB / 476.4 MB, free: 4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01391, allocations: 0 / 476.4 MB, free: 4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.01405, allocations: 145.7 kB / 476.5 MB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01405, allocations: 0 / 476.5 MB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.01415, allocations: 32.64 kB / 476.6 MB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.01429, allocations: 83.55 kB / 476.6 MB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.0143, allocations: 4 kB / 476.6 MB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.01606, allocations: 4.627 MB / 481.3 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01607, allocations: 4 kB / 481.3 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.01631, allocations: 295.7 kB / 481.6 MB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.01633, allocations: 28.95 kB / 481.6 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.01635, allocations: 0 / 481.6 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.915e-05/0.01641, allocations: 4 kB / 481.6 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.01645, allocations: 19.91 kB / 481.6 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.01646, allocations: 5.531 kB / 481.6 MB, free: 14.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.271e-05/0.01652, allocations: 92.62 kB / 481.7 MB, free: 14.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01652, allocations: 1.625 kB / 481.7 MB, free: 14.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.0168, allocations: 95.89 kB / 481.8 MB, free: 14.2 MB / 442.7 MB 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.542e-05/0.01689, allocations: 86.91 kB / 481.9 MB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004353/0.01733, allocations: 0.5975 MB / 482.5 MB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.01734, allocations: 4 kB / 482.5 MB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.01759, allocations: 0.4983 MB / 483 MB, free: 12.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.01781, allocations: 49.41 kB / 483 MB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008649/0.01868, allocations: 0.5805 MB / 483.6 MB, free: 12.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.526e-05/0.01874, allocations: 88.62 kB / 483.7 MB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.806e-05/0.01883, allocations: 29.95 kB / 483.7 MB, free: 12.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.01894, allocations: 103.3 kB / 483.8 MB, free: 12.08 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01894, allocations: 0 / 483.8 MB, free: 12.08 MB / 442.7 MB Notification: Performance of Templates: time 0.006527/0.02546, allocations: 4.387 MB / 488.2 MB, free: 7.996 MB / 442.7 MB " [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.6987207029014826]