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.001834/0.001834, allocations: 85.48 kB / 19.44 MB, free: 340 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.002031/0.002031, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.004613/0.004613, allocations: 235.9 kB / 259.8 MB, free: 12.86 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 1.157/1.157, allocations: 138.4 MB / 454.7 MB, free: 1.48 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.403e-06/1.403e-06, allocations: 0 / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.902e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.005089/0.005118, allocations: 2.915 MB / 0.5572 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.006622, allocations: 0.7556 MB / 0.5579 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.006775, allocations: 23.75 kB / 0.5579 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.007011, allocations: 67.42 kB / 0.558 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.007286, allocations: 130.9 kB / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.007532, allocations: 63.84 kB / 0.5582 GB, free: 12.9 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004751/0.008007, allocations: 389.8 kB / 0.5585 GB, free: 12.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.008212, allocations: 72.28 kB / 0.5586 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.008581, allocations: 215.5 kB / 0.5588 GB, free: 12.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.008805, allocations: 115.6 kB / 0.5589 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.008853, allocations: 20 kB / 0.5589 GB, free: 12.1 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.912e-05/0.008942, allocations: 35.92 kB / 0.559 GB, free: 12.07 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.009014, allocations: 55.77 kB / 0.559 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.009156, allocations: 103.8 kB / 0.5591 GB, free: 11.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.009613, allocations: 315 kB / 0.5594 GB, free: 11.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.00962, allocations: 4 kB / 0.5594 GB, free: 11.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.009621, allocations: 0 / 0.5594 GB, free: 11.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.009627, allocations: 3.938 kB / 0.5594 GB, free: 11.59 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.001019/0.01065, allocations: 0.6399 MB / 0.5601 GB, free: 10.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.01069, allocations: 12.69 kB / 0.5601 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.01094, allocations: 68.69 kB / 0.5601 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.01132, allocations: 228.1 kB / 0.5604 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.01136, allocations: 21.03 kB / 0.5604 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.01141, allocations: 24.38 kB / 0.5604 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.01187, allocations: 230.7 kB / 0.5606 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01188, allocations: 4.125 kB / 0.5606 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.01192, allocations: 12.38 kB / 0.5606 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.01194, allocations: 7.938 kB / 0.5606 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.01232, allocations: 182.5 kB / 0.5608 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.01385, allocations: 0.7842 MB / 0.5616 GB, free: 9.293 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/0.01471, allocations: 254.9 kB / 0.5618 GB, free: 9.031 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.01484, allocations: 55.67 kB / 0.5619 GB, free: 8.973 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.01487, allocations: 4 kB / 0.5619 GB, free: 8.969 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.01492, allocations: 37.39 kB / 0.5619 GB, free: 8.922 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.01492, allocations: 4 kB / 0.5619 GB, free: 8.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.00117/0.01609, allocations: 383.6 kB / 0.5623 GB, free: 8.523 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.01614, allocations: 51.41 kB / 0.5623 GB, free: 8.461 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.01656, allocations: 394.1 kB / 0.5627 GB, free: 8.055 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.01659, allocations: 29.7 kB / 0.5627 GB, free: 8.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.01682, allocations: 282.5 kB / 0.563 GB, free: 7.738 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.0169, allocations: 71.47 kB / 0.5631 GB, free: 7.668 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.01703, allocations: 83.27 kB / 0.5632 GB, free: 7.578 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003198/0.01735, allocations: 0.5235 MB / 0.5637 GB, free: 7.043 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.0175, allocations: 72.34 kB / 0.5637 GB, free: 6.969 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.01783, allocations: 248.7 kB / 0.564 GB, free: 6.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.01846, allocations: 411.2 kB / 0.5644 GB, free: 6.188 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.01846, allocations: 0 / 0.5644 GB, free: 6.188 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000818/0.01928, allocations: 451.9 kB / 0.5648 GB, free: 5.723 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.0193, allocations: 8 kB / 0.5648 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.01931, allocations: 4 kB / 0.5648 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/0.01976, allocations: 106.9 kB / 0.5649 GB, free: 5.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.02003, allocations: 75.91 kB / 0.565 GB, free: 5.516 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005978/0.02601, allocations: 7.127 MB / 0.5719 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.02629, allocations: 39.73 kB / 0.572 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.02632, allocations: 12 kB / 0.572 GB, free: 13.85 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.0003479/0.02667, allocations: 230.4 kB / 0.5722 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.02674, allocations: 35.81 kB / 0.5722 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.159e-05/0.02682, allocations: 38.12 kB / 0.5723 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.02682, allocations: 0 / 0.5723 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.02683, allocations: 4 kB / 0.5723 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.02684, allocations: 0 / 0.5723 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.02729, allocations: 260.5 kB / 0.5725 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.0273, allocations: 4 kB / 0.5725 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.02752, allocations: 35.97 kB / 0.5726 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.02798, allocations: 106.6 kB / 0.5727 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.028, allocations: 8 kB / 0.5727 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006545/0.03455, allocations: 7.099 MB / 0.5796 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.03455, allocations: 3.984 kB / 0.5796 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.0354, allocations: 486.4 kB / 0.5801 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.03547, allocations: 27.75 kB / 0.5801 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.0355, allocations: 11.94 kB / 0.5801 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.03565, allocations: 0 / 0.5801 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.03573, allocations: 19.97 kB / 0.5801 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.03574, allocations: 3.984 kB / 0.5801 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000267/0.03601, allocations: 243 kB / 0.5804 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.03601, allocations: 0 / 0.5804 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005433/0.03656, allocations: 95.89 kB / 0.5805 GB, free: 4.574 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.0001512/0.03671, allocations: 103.2 kB / 0.5806 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.03787, allocations: 0.8988 MB / 0.5814 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.03787, allocations: 0 / 0.5814 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008377/0.03871, allocations: 0.7451 MB / 0.5822 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.0391, allocations: 59.89 kB / 0.5822 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.0403, allocations: 0.6667 MB / 0.5829 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.04048, allocations: 159.8 kB / 0.583 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.0406, allocations: 30.95 kB / 0.5831 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.04066, allocations: 24.5 kB / 0.5831 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of SimCode: time 9.41e-07/0.04066, allocations: 0 / 0.5831 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of Templates: time 0.009837/0.0505, allocations: 4.094 MB / 0.5871 GB, free: 13.7 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: 6.278118588961661]