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.001493/0.001493, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.739/1.739, allocations: 230.6 MB / 252.7 MB, free: 14.28 MB / 206.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.002949/0.002949, allocations: 214 kB / 309.2 MB, free: 3.145 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.0467/0.0467, allocations: 8.926 MB / 374.6 MB, free: 6.609 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00412/0.00412, allocations: 91.86 kB / 0.4896 GB, free: 44.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1502, allocations: 55.6 MB / 0.5439 GB, free: 4.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.005781/0.156, allocations: 1.942 MB / 0.5458 GB, free: 2.652 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009055/0.1569, allocations: 163.5 kB / 0.546 GB, free: 2.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.1571, allocations: 0 / 0.546 GB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.1574, allocations: 27.67 kB / 0.546 GB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.1578, allocations: 71.52 kB / 0.5461 GB, free: 2.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.1581, allocations: 43.89 kB / 0.5461 GB, free: 2.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009196/0.159, allocations: 493.9 kB / 0.5466 GB, free: 1.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005151/0.1595, allocations: 166.1 kB / 0.5467 GB, free: 1.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004161/0.1599, allocations: 187.5 kB / 0.5469 GB, free: 1.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005978/0.1605, allocations: 203.2 kB / 0.5471 GB, free: 1.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.1607, allocations: 48 kB / 0.5471 GB, free: 1.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.1609, allocations: 48 kB / 0.5472 GB, free: 1.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1611, allocations: 99.73 kB / 0.5473 GB, free: 1.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000448/0.1615, allocations: 179.3 kB / 0.5475 GB, free: 0.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009744/0.1625, allocations: 0.5452 MB / 0.548 GB, free: 420 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1625, allocations: 0 / 0.548 GB, free: 420 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1625, allocations: 0 / 0.548 GB, free: 420 kB / 366.1 MB Notification: Performance of Transformations before backend: time 2.563e-05/0.1625, allocations: 4 kB / 0.548 GB, free: 416 kB / 366.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.002112/0.1646, allocations: 0.5755 MB / 0.5486 GB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.1647, allocations: 11.98 kB / 0.5486 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.1649, allocations: 44.69 kB / 0.5486 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.1656, allocations: 258 kB / 0.5489 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.1657, allocations: 29.03 kB / 0.5489 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1658, allocations: 28.38 kB / 0.5489 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.1669, allocations: 386.5 kB / 0.5493 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.1669, allocations: 192 / 0.5493 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.167, allocations: 15.94 kB / 0.5493 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.167, allocations: 12.66 kB / 0.5493 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.168, allocations: 362.3 kB / 0.5497 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.1706, allocations: 0.9297 MB / 0.5506 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.1717, allocations: 370.5 kB / 0.5509 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.1722, allocations: 179.5 kB / 0.5511 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1722, allocations: 4 kB / 0.5511 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.1722, allocations: 34.56 kB / 0.5511 GB, free: 13.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.775e-06/0.1723, allocations: 0 / 0.5511 GB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.002315/0.1746, allocations: 0.6263 MB / 0.5517 GB, free: 12.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.1746, allocations: 55.41 kB / 0.5518 GB, free: 12.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.175, allocations: 202.2 kB / 0.552 GB, free: 12.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.175, allocations: 33.64 kB / 0.552 GB, free: 12.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1752, allocations: 176.5 kB / 0.5522 GB, free: 11.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.1754, allocations: 83.67 kB / 0.5523 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.1755, allocations: 41.7 kB / 0.5523 GB, free: 11.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002884/0.1758, allocations: 330.8 kB / 0.5526 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.1762, allocations: 119.9 kB / 0.5527 GB, free: 11.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.1765, allocations: 119.9 kB / 0.5528 GB, free: 11.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007614/0.1772, allocations: 269.1 kB / 0.5531 GB, free: 11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1772, allocations: 0 / 0.5531 GB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00135/0.1786, allocations: 435.6 kB / 0.5535 GB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.1786, allocations: 12 kB / 0.5535 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1786, allocations: 0 / 0.5535 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007224/0.1794, allocations: 134.5 kB / 0.5537 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.1797, allocations: 35.97 kB / 0.5537 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007791/0.1875, allocations: 4.773 MB / 0.5584 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.1877, allocations: 19.88 kB / 0.5584 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.1877, allocations: 7.938 kB / 0.5584 GB, free: 5.258 MB / 382.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.0004522/0.1882, allocations: 205.8 kB / 0.5586 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.1883, allocations: 15.91 kB / 0.5586 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.1884, allocations: 33.95 kB / 0.5586 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1884, allocations: 4 kB / 0.5586 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.1884, allocations: 0 / 0.5586 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1884, allocations: 0 / 0.5586 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007872/0.1892, allocations: 305 kB / 0.5589 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1892, allocations: 0 / 0.5589 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.1896, allocations: 43.97 kB / 0.559 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005814/0.1902, allocations: 138.5 kB / 0.5591 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.1902, allocations: 7.984 kB / 0.5591 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3436/0.5338, allocations: 4.755 MB / 0.5637 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5338, allocations: 2.031 kB / 0.5637 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.5349, allocations: 0.6627 MB / 0.5644 GB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.535, allocations: 23.38 kB / 0.5644 GB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.535, allocations: 8.688 kB / 0.5644 GB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5351, allocations: 12.92 kB / 0.5644 GB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.5352, allocations: 23.22 kB / 0.5645 GB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.5352, allocations: 2.938 kB / 0.5645 GB, free: 24.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.5354, allocations: 158.9 kB / 0.5646 GB, free: 24.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5354, allocations: 0.5312 kB / 0.5646 GB, free: 24.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006418/0.536, allocations: 107.1 kB / 0.5647 GB, free: 24.01 MB / 382.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.0001414/0.5362, allocations: 106.7 kB / 0.5648 GB, free: 23.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.5372, allocations: 0.6407 MB / 0.5654 GB, free: 23.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5372, allocations: 0.7656 kB / 0.5654 GB, free: 23.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005249/0.5377, allocations: 0.5157 MB / 0.5659 GB, free: 23.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.5381, allocations: 48.34 kB / 0.566 GB, free: 23.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.5397, allocations: 0.8614 MB / 0.5668 GB, free: 22.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.54, allocations: 244.4 kB / 0.5671 GB, free: 22.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.5401, allocations: 54.42 kB / 0.5671 GB, free: 22.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.5402, allocations: 17.12 kB / 0.5671 GB, free: 22.84 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5402, allocations: 0 / 0.5671 GB, free: 22.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01065/0.5508, allocations: 4.508 MB / 0.5715 GB, free: 22.45 MB / 382.1 MB " [Timeout remaining time 659] 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.954536970704794] Failed to read output from testmodel.py, exit status != 0: 0.5614441074430943 0.580260722 0.413979117 Calling exit ...