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.001629/0.001629, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.432/1.432, allocations: 230.6 MB / 253.4 MB, free: 8.285 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.001604/0.001604, allocations: 209.2 kB / 310 MB, free: 3.137 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.0399/0.0399, allocations: 8.914 MB / 375.3 MB, free: 1.883 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.002446/0.002446, allocations: 83.88 kB / 0.4904 GB, free: 6.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3265, allocations: 55.6 MB / 0.5447 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002814/0.3293, allocations: 2.04 MB / 0.5467 GB, free: 25.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003343/0.3296, allocations: 162.9 kB / 0.5469 GB, free: 25.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.3297, allocations: 7.125 kB / 0.5469 GB, free: 25.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.3298, allocations: 26.08 kB / 0.5469 GB, free: 25.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.33, allocations: 66.94 kB / 0.547 GB, free: 25.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.3302, allocations: 41.8 kB / 0.547 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.3305, allocations: 0.4886 MB / 0.5475 GB, free: 25.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.3308, allocations: 161.4 kB / 0.5476 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3309, allocations: 185.6 kB / 0.5478 GB, free: 25.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.3312, allocations: 189 kB / 0.548 GB, free: 24.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.3312, allocations: 48.28 kB / 0.548 GB, free: 24.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.068e-05/0.3313, allocations: 45.59 kB / 0.5481 GB, free: 24.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.3314, allocations: 97.05 kB / 0.5482 GB, free: 24.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.3315, allocations: 214.2 kB / 0.5484 GB, free: 24.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.3319, allocations: 0.5478 MB / 0.5489 GB, free: 24.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3319, allocations: 0 / 0.5489 GB, free: 24.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3319, allocations: 3.938 kB / 0.5489 GB, free: 24.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.3319, allocations: 4 kB / 0.5489 GB, free: 24.52 MB / 382.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.0008903/0.3328, allocations: 0.5747 MB / 0.5495 GB, free: 24.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3328, allocations: 8 kB / 0.5495 GB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.3329, allocations: 41.33 kB / 0.5495 GB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.3332, allocations: 262.5 kB / 0.5498 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3333, allocations: 21.03 kB / 0.5498 GB, free: 23.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.3333, allocations: 26.31 kB / 0.5498 GB, free: 23.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.3339, allocations: 392.8 kB / 0.5502 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.3339, allocations: 192 / 0.5502 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.3339, allocations: 19.28 kB / 0.5502 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.3339, allocations: 10.19 kB / 0.5502 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.3344, allocations: 360.8 kB / 0.5506 GB, free: 23.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.3357, allocations: 1.379 MB / 0.5519 GB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.3363, allocations: 378.8 kB / 0.5523 GB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.3365, allocations: 184.4 kB / 0.5525 GB, free: 22.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3365, allocations: 2.938 kB / 0.5525 GB, free: 22.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.3365, allocations: 34.56 kB / 0.5525 GB, free: 22.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.3365, allocations: 0 / 0.5525 GB, free: 22.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001275/0.3378, allocations: 0.6301 MB / 0.5531 GB, free: 22.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.3378, allocations: 58.31 kB / 0.5532 GB, free: 22.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.338, allocations: 219.7 kB / 0.5534 GB, free: 21.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.338, allocations: 29.7 kB / 0.5534 GB, free: 21.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.3381, allocations: 170.2 kB / 0.5536 GB, free: 21.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.3381, allocations: 83.23 kB / 0.5536 GB, free: 21.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.3382, allocations: 50.81 kB / 0.5537 GB, free: 21.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.3382, allocations: 331.6 kB / 0.554 GB, free: 21.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.3384, allocations: 109.5 kB / 0.5541 GB, free: 21.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.3385, allocations: 118.1 kB / 0.5542 GB, free: 21.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.3388, allocations: 275 kB / 0.5545 GB, free: 21.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3388, allocations: 3.062 kB / 0.5545 GB, free: 21.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005476/0.3394, allocations: 440.5 kB / 0.5549 GB, free: 20.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3394, allocations: 6 kB / 0.5549 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3394, allocations: 0 / 0.5549 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.3397, allocations: 136.3 kB / 0.555 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3399, allocations: 48.62 kB / 0.5551 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.3426, allocations: 4.858 MB / 0.5598 GB, free: 16.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3427, allocations: 21.77 kB / 0.5599 GB, free: 16.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3427, allocations: 3.312 kB / 0.5599 GB, free: 16.36 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.0001549/0.3429, allocations: 196.6 kB / 0.56 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.3429, allocations: 25.23 kB / 0.5601 GB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.253e-05/0.343, allocations: 43.11 kB / 0.5601 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.343, allocations: 0 / 0.5601 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.343, allocations: 3.125 kB / 0.5601 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.343, allocations: 0 / 0.5601 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.3433, allocations: 397.5 kB / 0.5605 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3433, allocations: 3.938 kB / 0.5605 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.3435, allocations: 47.08 kB / 0.5605 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/0.3438, allocations: 131.4 kB / 0.5607 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.3438, allocations: 11.83 kB / 0.5607 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.3464, allocations: 4.853 MB / 0.5654 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3464, allocations: 4 kB / 0.5654 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007831/0.3472, allocations: 0.6627 MB / 0.5661 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.3472, allocations: 23.91 kB / 0.5661 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.3472, allocations: 8.891 kB / 0.5661 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3474, allocations: 13.89 kB / 0.5661 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.3474, allocations: 21.22 kB / 0.5661 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.3474, allocations: 6.906 kB / 0.5661 GB, free: 10.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3476, allocations: 165.4 kB / 0.5663 GB, free: 10.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3476, allocations: 4 kB / 0.5663 GB, free: 10.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005193/0.3481, allocations: 108.9 kB / 0.5664 GB, free: 10.85 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.000106/0.3482, allocations: 99.97 kB / 0.5665 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007721/0.349, allocations: 0.6389 MB / 0.5671 GB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.349, allocations: 0 / 0.5671 GB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.3494, allocations: 0.5186 MB / 0.5676 GB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3498, allocations: 51.38 kB / 0.5677 GB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.351, allocations: 0.8675 MB / 0.5685 GB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3513, allocations: 0.8447 MB / 0.5693 GB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.3513, allocations: 16.59 kB / 0.5694 GB, free: 8.617 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3513, allocations: 0 / 0.5694 GB, free: 8.617 MB / 382.1 MB Notification: Performance of Templates: time 0.01155/0.3629, allocations: 8.893 MB / 0.578 GB, free: 5.66 MB / 382.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: 8.587861333973706] Failed to read output from testmodel.py, exit status != 0: 0.37101920298300683 0.383545825 0.048681469000000005 Calling exit ...