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.0009112/0.0009112, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009506/0.0009506, allocations: 169 kB / 23.27 MB, free: 1.223 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.9517/0.9517, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.001773/0.001773, allocations: 249.2 kB / 260.5 MB, free: 12.68 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.7845/0.7845, allocations: 138.4 MB / 455.5 MB, free: 30.1 MB / 410.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.633e-06/1.633e-06, allocations: 0 / 0.5555 GB, free: 15.95 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.836e-05, allocations: 5.969 kB / 0.5555 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004721/0.004749, allocations: 2.946 MB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.006527, allocations: 0.7632 MB / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.00674, allocations: 15.88 kB / 0.5592 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.006931, allocations: 63.38 kB / 0.5592 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.007121, allocations: 130.9 kB / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.007346, allocations: 67.84 kB / 0.5594 GB, free: 11.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.007659, allocations: 393.8 kB / 0.5598 GB, free: 11.55 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.007789, allocations: 64.3 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.008051, allocations: 211.4 kB / 0.5601 GB, free: 11.27 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.008195, allocations: 115.6 kB / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.008225, allocations: 24 kB / 0.5602 GB, free: 11.14 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.958e-05/0.008295, allocations: 28 kB / 0.5602 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.008331, allocations: 59.75 kB / 0.5603 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.008403, allocations: 103.8 kB / 0.5604 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.00862, allocations: 223.1 kB / 0.5606 GB, free: 10.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.008623, allocations: 0 / 0.5606 GB, free: 10.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008624, allocations: 0 / 0.5606 GB, free: 10.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.008628, allocations: 0 / 0.5606 GB, free: 10.73 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.0004897/0.009118, allocations: 0.6168 MB / 0.5612 GB, free: 10.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.009155, allocations: 9.938 kB / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.009292, allocations: 68.73 kB / 0.5613 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.009507, allocations: 239.8 kB / 0.5615 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.009521, allocations: 21.03 kB / 0.5615 GB, free: 9.723 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.00955, allocations: 24.38 kB / 0.5615 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.009732, allocations: 187.3 kB / 0.5617 GB, free: 9.508 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.009739, allocations: 192 / 0.5617 GB, free: 9.508 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.009753, allocations: 8.375 kB / 0.5617 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.009761, allocations: 11.94 kB / 0.5617 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.389e-05/0.009855, allocations: 88.45 kB / 0.5618 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.01055, allocations: 0.6637 MB / 0.5625 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.0109, allocations: 230.9 kB / 0.5627 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.01094, allocations: 31.67 kB / 0.5627 GB, free: 8.438 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.01096, allocations: 7.938 kB / 0.5627 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.01097, allocations: 33.39 kB / 0.5628 GB, free: 8.387 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.01098, allocations: 0 / 0.5628 GB, free: 8.387 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004556/0.01143, allocations: 284.1 kB / 0.563 GB, free: 8.086 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.01145, allocations: 55.41 kB / 0.5631 GB, free: 8.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.01162, allocations: 342 kB / 0.5634 GB, free: 7.668 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.01163, allocations: 25.7 kB / 0.5634 GB, free: 7.637 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.01173, allocations: 278.5 kB / 0.5637 GB, free: 7.355 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.01176, allocations: 59.47 kB / 0.5638 GB, free: 7.297 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.01183, allocations: 83.27 kB / 0.5638 GB, free: 7.207 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01194, allocations: 0.5117 MB / 0.5643 GB, free: 6.684 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.01199, allocations: 36.34 kB / 0.5644 GB, free: 6.645 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.01209, allocations: 188.8 kB / 0.5646 GB, free: 6.395 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.01258, allocations: 300.4 kB / 0.5648 GB, free: 6.035 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01259, allocations: 0 / 0.5648 GB, free: 6.035 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003155/0.0129, allocations: 351.6 kB / 0.5652 GB, free: 5.668 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01292, allocations: 8 kB / 0.5652 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01292, allocations: 4 kB / 0.5652 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.01311, allocations: 91.16 kB / 0.5653 GB, free: 5.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01324, allocations: 71.91 kB / 0.5653 GB, free: 5.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.01606, allocations: 6.857 MB / 0.572 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.01619, allocations: 39.73 kB / 0.5721 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.0162, allocations: 11.98 kB / 0.5721 GB, free: 14.12 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.0001712/0.01637, allocations: 228.5 kB / 0.5723 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.0164, allocations: 27.86 kB / 0.5723 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.01643, allocations: 34.12 kB / 0.5724 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01643, allocations: 4 kB / 0.5724 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.01644, allocations: 0 / 0.5724 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01644, allocations: 0 / 0.5724 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.0166, allocations: 189 kB / 0.5726 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.01661, allocations: 4 kB / 0.5726 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-05/0.0167, allocations: 27.98 kB / 0.5726 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.01685, allocations: 90.67 kB / 0.5727 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.01686, allocations: 8 kB / 0.5727 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.01947, allocations: 6.837 MB / 0.5794 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01947, allocations: 0 / 0.5794 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.01975, allocations: 382.5 kB / 0.5797 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.01978, allocations: 23.8 kB / 0.5797 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.01979, allocations: 7.938 kB / 0.5798 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.01986, allocations: 7.984 kB / 0.5798 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.01991, allocations: 19.91 kB / 0.5798 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.01991, allocations: 4 kB / 0.5798 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.938e-05/0.02, allocations: 210.9 kB / 0.58 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02, allocations: 0 / 0.58 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003018/0.02031, allocations: 87.95 kB / 0.5801 GB, free: 5.41 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.123e-05/0.0204, allocations: 103.2 kB / 0.5802 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000438/0.02083, allocations: 0.8129 MB / 0.581 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02084, allocations: 0 / 0.581 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.02113, allocations: 0.7294 MB / 0.5817 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.02138, allocations: 49.89 kB / 0.5817 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009134/0.02229, allocations: 0.6481 MB / 0.5824 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.409e-05/0.02235, allocations: 96.61 kB / 0.5824 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.762e-05/0.02242, allocations: 30.95 kB / 0.5825 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.02253, allocations: 134.2 kB / 0.5826 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.02253, allocations: 0 / 0.5826 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of Templates: time 0.006457/0.02899, allocations: 4.399 MB / 0.5869 GB, free: 14.3 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.8524428731761873]