Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.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.00133/0.00133, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.453/1.453, allocations: 177.2 MB / 199.4 MB, free: 8.441 MB / 190.1 MB " [Timeout remaining time 178] 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.001631/0.001631, allocations: 171.9 kB / 256 MB, free: 4.316 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03946/0.03946, allocations: 6.657 MB / 319 MB, free: 5.383 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 445.9 MB, free: 25.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.713e-05, allocations: 10.22 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002426/0.002453, allocations: 1.958 MB / 447.8 MB, free: 23.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003414/0.002795, allocations: 159.4 kB / 448 MB, free: 23.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.002868, allocations: 0 / 448 MB, free: 23.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.002994, allocations: 27.73 kB / 448 MB, free: 23.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.00316, allocations: 75.39 kB / 448.1 MB, free: 22.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.003294, allocations: 43.95 kB / 448.1 MB, free: 22.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.003625, allocations: 0.5094 MB / 448.6 MB, free: 22.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.00385, allocations: 150.2 kB / 448.8 MB, free: 22.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.004036, allocations: 283.5 kB / 449.1 MB, free: 22.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.004256, allocations: 179.6 kB / 449.2 MB, free: 21.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.004311, allocations: 48 kB / 449.3 MB, free: 21.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.004394, allocations: 44 kB / 449.3 MB, free: 21.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.799e-05/0.004492, allocations: 99.67 kB / 449.4 MB, free: 21.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.00462, allocations: 147.8 kB / 449.6 MB, free: 21.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.004967, allocations: 0.5688 MB / 450.1 MB, free: 20.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.00497, allocations: 0 / 450.1 MB, free: 20.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004971, allocations: 4 kB / 450.2 MB, free: 20.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.004976, allocations: 0 / 450.2 MB, free: 20.93 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0008118/0.005788, allocations: 0.5638 MB / 450.7 MB, free: 20.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.00582, allocations: 15.98 kB / 450.7 MB, free: 20.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.005888, allocations: 36.7 kB / 450.8 MB, free: 20.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.006192, allocations: 261.3 kB / 451 MB, free: 20 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.006213, allocations: 21.03 kB / 451 MB, free: 19.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.006262, allocations: 32.36 kB / 451.1 MB, free: 19.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.006789, allocations: 390.5 kB / 451.5 MB, free: 19.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.006807, allocations: 192 / 451.5 MB, free: 19.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.006838, allocations: 12.38 kB / 451.5 MB, free: 19.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.006859, allocations: 13.03 kB / 451.5 MB, free: 19.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.007346, allocations: 366.2 kB / 451.8 MB, free: 19.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.008437, allocations: 0.9258 MB / 452.8 MB, free: 18.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.009012, allocations: 369.6 kB / 453.1 MB, free: 17.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.009223, allocations: 176.8 kB / 453.3 MB, free: 17.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.009241, allocations: 8.391 kB / 453.3 MB, free: 17.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.009259, allocations: 38.56 kB / 453.3 MB, free: 17.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.422e-06/0.00926, allocations: 0 / 453.3 MB, free: 17.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001319/0.01058, allocations: 0.632 MB / 454 MB, free: 16.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.0106, allocations: 55.39 kB / 454 MB, free: 16.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.01074, allocations: 198.3 kB / 454.2 MB, free: 16.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.01076, allocations: 33.7 kB / 454.3 MB, free: 16.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.01082, allocations: 168.5 kB / 454.4 MB, free: 16.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.01087, allocations: 91.59 kB / 454.5 MB, free: 16.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.01093, allocations: 45.7 kB / 454.6 MB, free: 16.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.01097, allocations: 338.8 kB / 454.9 MB, free: 16.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.01113, allocations: 111.9 kB / 455 MB, free: 15.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.01129, allocations: 123.6 kB / 455.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.01162, allocations: 264.7 kB / 455.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01162, allocations: 3.984 kB / 455.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000584/0.01221, allocations: 440.1 kB / 455.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01222, allocations: 4 kB / 455.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.01222, allocations: 4 kB / 455.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003675/0.01259, allocations: 134.5 kB / 455.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.01276, allocations: 39.97 kB / 456 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/0.0156, allocations: 4.758 MB / 460.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.01571, allocations: 23.91 kB / 460.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.01573, allocations: 4 kB / 460.8 MB, free: 9.797 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.01587, allocations: 205.8 kB / 461 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.01591, allocations: 15.91 kB / 461 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.01596, allocations: 33.95 kB / 461 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01596, allocations: 8 kB / 461 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.01597, allocations: 0 / 461 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01597, allocations: 0 / 461 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.01625, allocations: 305 kB / 461.3 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01625, allocations: 4 kB / 461.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.01644, allocations: 43.97 kB / 461.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002631/0.01671, allocations: 134.5 kB / 461.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.01672, allocations: 8 kB / 461.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.01932, allocations: 4.759 MB / 466.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01933, allocations: 7.969 kB / 466.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.02044, allocations: 0.648 MB / 466.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.02049, allocations: 31.83 kB / 467 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.02053, allocations: 11.98 kB / 467 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.02074, allocations: 7.984 kB / 467 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.0208, allocations: 19.97 kB / 467 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.02082, allocations: 4 kB / 467 MB, free: 3.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.02096, allocations: 152.2 kB / 467.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02096, allocations: 7.938 kB / 467.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008545/0.02181, allocations: 107.7 kB / 467.3 MB, free: 2.934 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001161/0.02193, allocations: 107.2 kB / 467.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009348/0.02286, allocations: 0.6518 MB / 468 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02286, allocations: 0 / 468 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.02342, allocations: 0.5155 MB / 468.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.02388, allocations: 44.12 kB / 468.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.02533, allocations: 0.775 MB / 469.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.0256, allocations: 239.1 kB / 469.6 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.02575, allocations: 49.91 kB / 469.6 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.0258, allocations: 20.5 kB / 469.7 MB, free: 416 kB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.0258, allocations: 0 / 469.7 MB, free: 416 kB / 334.1 MB Notification: Performance of Templates: time 0.01266/0.03847, allocations: 4.11 MB / 473.8 MB, free: 12.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & ./HanserModelica_HanserModelica.Thermal.TestLongRod -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.747276283800602] Failed to read output from testmodel.py, exit status != 0: 0.04779668524861336 0.23427899399999996 0.06210111 Calling exit ...