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.0007966/0.0007966, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.8462/0.8462, allocations: 177.1 MB / 200.2 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] 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.001001/0.001001, allocations: 164.6 kB / 256.7 MB, free: 13.34 MB / 250.7 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.02197/0.02197, allocations: 6.665 MB / 319.8 MB, free: 26.77 MB / 266.7 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.183e-06/1.183e-06, allocations: 0 / 446.6 MB, free: 37.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.337e-05, allocations: 4.531 kB / 446.6 MB, free: 37.04 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.001561/0.001575, allocations: 1.948 MB / 448.6 MB, free: 35.08 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000268/0.001843, allocations: 167.4 kB / 448.7 MB, free: 34.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.001905, allocations: 4 kB / 448.7 MB, free: 34.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.002018, allocations: 27.78 kB / 448.8 MB, free: 34.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.002155, allocations: 71.41 kB / 448.8 MB, free: 34.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.00228, allocations: 39.95 kB / 448.9 MB, free: 34.78 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.002523, allocations: 0.5016 MB / 449.4 MB, free: 34.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.002711, allocations: 154.2 kB / 449.5 MB, free: 34.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.002845, allocations: 279.5 kB / 449.8 MB, free: 33.85 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.003, allocations: 187.6 kB / 450 MB, free: 33.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.003042, allocations: 48 kB / 450 MB, free: 33.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.287e-05/0.003075, allocations: 48 kB / 450.1 MB, free: 33.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.003137, allocations: 99.73 kB / 450.2 MB, free: 33.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.003211, allocations: 159.6 kB / 450.3 MB, free: 33.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.003467, allocations: 0.5571 MB / 450.9 MB, free: 32.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003469, allocations: 0 / 450.9 MB, free: 32.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.00347, allocations: 3.984 kB / 450.9 MB, free: 32.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.003476, allocations: 0 / 450.9 MB, free: 32.75 MB / 330.7 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.0005748/0.00405, allocations: 0.5717 MB / 451.5 MB, free: 32.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.004082, allocations: 12.03 kB / 451.5 MB, free: 32.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.004127, allocations: 36.7 kB / 451.5 MB, free: 32.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.004338, allocations: 249.3 kB / 451.8 MB, free: 31.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.004353, allocations: 25.03 kB / 451.8 MB, free: 31.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.004389, allocations: 32.36 kB / 451.8 MB, free: 31.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.00474, allocations: 390.5 kB / 452.2 MB, free: 31.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.004754, allocations: 192 / 452.2 MB, free: 31.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.004773, allocations: 16.38 kB / 452.2 MB, free: 31.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.004791, allocations: 13.03 kB / 452.2 MB, free: 31.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.005114, allocations: 366.3 kB / 452.6 MB, free: 31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007583/0.005872, allocations: 0.922 MB / 453.5 MB, free: 30.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.006251, allocations: 374.4 kB / 453.9 MB, free: 29.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.00639, allocations: 190.3 kB / 454.1 MB, free: 29.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.006402, allocations: 0 / 454.1 MB, free: 29.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.078e-05/0.006413, allocations: 42.5 kB / 454.1 MB, free: 29.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.002e-06/0.006414, allocations: 0 / 454.1 MB, free: 29.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007562/0.00717, allocations: 0.6174 MB / 454.7 MB, free: 28.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.00719, allocations: 55.41 kB / 454.8 MB, free: 28.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.007287, allocations: 206.3 kB / 455 MB, free: 28.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.007297, allocations: 29.7 kB / 455 MB, free: 28.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.007333, allocations: 176.5 kB / 455.2 MB, free: 28.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.007369, allocations: 83.27 kB / 455.2 MB, free: 28.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.007409, allocations: 41.66 kB / 455.3 MB, free: 28.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.105e-05/0.00744, allocations: 338.8 kB / 455.6 MB, free: 27.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.547e-05/0.007536, allocations: 115.9 kB / 455.7 MB, free: 27.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.095e-05/0.007627, allocations: 123.8 kB / 455.9 MB, free: 27.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.007834, allocations: 276.6 kB / 456.1 MB, free: 27.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007836, allocations: 0 / 456.1 MB, free: 27.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003352/0.008171, allocations: 428.2 kB / 456.5 MB, free: 26.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.008182, allocations: 4 kB / 456.5 MB, free: 26.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.008186, allocations: 0 / 456.5 MB, free: 26.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.008391, allocations: 138.4 kB / 456.7 MB, free: 26.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.008477, allocations: 43.91 kB / 456.7 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.01, allocations: 4.77 MB / 461.5 MB, free: 21.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.01005, allocations: 23.91 kB / 461.5 MB, free: 21.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.01006, allocations: 4 kB / 461.5 MB, free: 21.61 MB / 330.7 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 9.705e-05/0.01016, allocations: 201.7 kB / 461.7 MB, free: 21.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.01018, allocations: 15.91 kB / 461.7 MB, free: 21.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.0102, allocations: 29.97 kB / 461.8 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01021, allocations: 7.938 kB / 461.8 MB, free: 21.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01021, allocations: 4.062 kB / 461.8 MB, free: 21.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.01021, allocations: 7.984 kB / 461.8 MB, free: 21.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.0104, allocations: 313 kB / 462.1 MB, free: 21.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.0104, allocations: 0 / 462.1 MB, free: 21.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.503e-05/0.01049, allocations: 39.97 kB / 462.1 MB, free: 20.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001475/0.01064, allocations: 130.4 kB / 462.3 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01065, allocations: 8 kB / 462.3 MB, free: 20.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.01202, allocations: 4.767 MB / 467 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01202, allocations: 192 / 467 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.01248, allocations: 0.6643 MB / 467.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.868e-05/0.0125, allocations: 23.78 kB / 467.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.01252, allocations: 8 kB / 467.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.349e-05/0.01258, allocations: 11.98 kB / 467.7 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.01262, allocations: 23.95 kB / 467.8 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.01263, allocations: 4 kB / 467.8 MB, free: 15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.01269, allocations: 152.2 kB / 467.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01269, allocations: 4 kB / 467.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003196/0.01301, allocations: 103.8 kB / 468 MB, free: 14.75 MB / 330.7 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 6.403e-05/0.01307, allocations: 109.7 kB / 468.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004314/0.0135, allocations: 0.6402 MB / 468.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.0135, allocations: 0 / 468.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.01373, allocations: 0.5154 MB / 469.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.01395, allocations: 52.58 kB / 469.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006931/0.01464, allocations: 0.7907 MB / 470.1 MB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.01477, allocations: 239.1 kB / 470.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.0148, allocations: 16.5 kB / 470.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.0148, allocations: 0 / 470.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of Templates: time 0.004928/0.01973, allocations: 8.944 MB / 479.3 MB, free: 3.301 MB / 330.7 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: 5.094628115184605] Failed to read output from testmodel.py, exit status != 0: 0.023478755727410316 0.032071404000000005 0.026311475 Calling exit ...