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.0009774/0.0009774, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001002/0.001002, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.9515/0.9515, allocations: 177.1 MB / 204.5 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.001848/0.001848, allocations: 232.7 kB / 261.3 MB, free: 12.64 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.8054/0.8054, allocations: 138.4 MB / 456.3 MB, free: 29.92 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.713e-06/1.713e-06, allocations: 3.938 kB / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.763e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004297/0.004324, allocations: 2.935 MB / 0.5592 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.005671, allocations: 0.7632 MB / 0.5599 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.005851, allocations: 23.81 kB / 0.5599 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.006071, allocations: 67.47 kB / 0.56 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.006316, allocations: 126.8 kB / 0.5601 GB, free: 11.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.006553, allocations: 59.91 kB / 0.5602 GB, free: 11.92 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.006939, allocations: 397.7 kB / 0.5606 GB, free: 11.53 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.007115, allocations: 60.3 kB / 0.5606 GB, free: 11.47 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.007472, allocations: 211.5 kB / 0.5608 GB, free: 11.26 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.00767, allocations: 119.6 kB / 0.5609 GB, free: 11.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.007709, allocations: 24 kB / 0.561 GB, free: 11.12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-05/0.007788, allocations: 28 kB / 0.561 GB, free: 11.09 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.007835, allocations: 55.75 kB / 0.561 GB, free: 11.04 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.007946, allocations: 107.8 kB / 0.5611 GB, free: 10.93 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.008253, allocations: 223.1 kB / 0.5614 GB, free: 10.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.008257, allocations: 0 / 0.5614 GB, free: 10.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.008258, allocations: 0 / 0.5614 GB, free: 10.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.008263, allocations: 0 / 0.5614 GB, free: 10.71 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.000696/0.008959, allocations: 0.6324 MB / 0.562 GB, free: 10.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.009009, allocations: 9.938 kB / 0.562 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.009194, allocations: 64.75 kB / 0.562 GB, free: 9.977 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.009506, allocations: 243.7 kB / 0.5623 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.009528, allocations: 21.03 kB / 0.5623 GB, free: 9.691 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.009572, allocations: 24.38 kB / 0.5623 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.009841, allocations: 175.4 kB / 0.5625 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.009853, allocations: 8.125 kB / 0.5625 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.009877, allocations: 12.38 kB / 0.5625 GB, free: 9.469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.009887, allocations: 7.938 kB / 0.5625 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.01012, allocations: 84.52 kB / 0.5626 GB, free: 9.379 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.01095, allocations: 0.6521 MB / 0.5632 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.01136, allocations: 226.9 kB / 0.5634 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.0114, allocations: 39.41 kB / 0.5635 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.01141, allocations: 7.938 kB / 0.5635 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.01144, allocations: 41.38 kB / 0.5635 GB, free: 8.367 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.01144, allocations: 0 / 0.5635 GB, free: 8.367 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004857/0.01192, allocations: 288.2 kB / 0.5638 GB, free: 8.062 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.01195, allocations: 55.41 kB / 0.5639 GB, free: 7.996 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.01212, allocations: 338 kB / 0.5642 GB, free: 7.648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.01213, allocations: 29.7 kB / 0.5642 GB, free: 7.613 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01224, allocations: 274.5 kB / 0.5645 GB, free: 7.336 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.01228, allocations: 67.45 kB / 0.5645 GB, free: 7.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.01234, allocations: 71.28 kB / 0.5646 GB, free: 7.191 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.01246, allocations: 0.5117 MB / 0.5651 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.0125, allocations: 32.34 kB / 0.5651 GB, free: 6.633 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.0126, allocations: 196.7 kB / 0.5653 GB, free: 6.375 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.01281, allocations: 300.4 kB / 0.5656 GB, free: 6.016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01282, allocations: 0 / 0.5656 GB, free: 6.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003244/0.01314, allocations: 351.9 kB / 0.5659 GB, free: 5.648 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.01315, allocations: 8 kB / 0.5659 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.01316, allocations: 4 kB / 0.566 GB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/0.01336, allocations: 98.8 kB / 0.566 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.01349, allocations: 75.91 kB / 0.5661 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.01591, allocations: 6.849 MB / 0.5728 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.01602, allocations: 35.73 kB / 0.5728 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.01603, allocations: 12 kB / 0.5729 GB, free: 14.1 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.0001716/0.0162, allocations: 205.6 kB / 0.573 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.01623, allocations: 31.8 kB / 0.5731 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.01626, allocations: 34.12 kB / 0.5731 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01626, allocations: 4 kB / 0.5731 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01627, allocations: 4 kB / 0.5731 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01627, allocations: 0 / 0.5731 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.01643, allocations: 189 kB / 0.5733 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01643, allocations: 4 kB / 0.5733 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.01653, allocations: 35.92 kB / 0.5733 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.01668, allocations: 86.69 kB / 0.5734 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01669, allocations: 3.984 kB / 0.5734 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.01893, allocations: 6.829 MB / 0.5801 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01893, allocations: 3.938 kB / 0.5801 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.01922, allocations: 378.2 kB / 0.5805 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.01924, allocations: 23.8 kB / 0.5805 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.01926, allocations: 12.05 kB / 0.5805 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.01933, allocations: 8 kB / 0.5805 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.01937, allocations: 15.97 kB / 0.5805 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.01937, allocations: 4 kB / 0.5805 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.813e-05/0.01946, allocations: 210.9 kB / 0.5807 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01946, allocations: 0 / 0.5807 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002785/0.01974, allocations: 91.95 kB / 0.5808 GB, free: 5.406 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.795e-05/0.01984, allocations: 107.1 kB / 0.5809 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004432/0.02028, allocations: 0.8121 MB / 0.5817 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.02028, allocations: 4.938 kB / 0.5817 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.0206, allocations: 0.7249 MB / 0.5824 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.02086, allocations: 61.78 kB / 0.5825 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008822/0.02174, allocations: 0.6474 MB / 0.5831 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.112e-05/0.0218, allocations: 92.61 kB / 0.5832 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.56e-05/0.02188, allocations: 30.97 kB / 0.5832 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.02199, allocations: 130.2 kB / 0.5833 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.02199, allocations: 0 / 0.5833 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of Templates: time 0.005893/0.02788, allocations: 4.499 MB / 0.5877 GB, free: 14.21 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.8136855950579047]