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.001571/0.001571, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.651/1.651, allocations: 177.1 MB / 199.7 MB, free: 5.777 MB / 186.7 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.001854/0.001854, allocations: 156.6 kB / 256.3 MB, free: 13.14 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.03673/0.03673, allocations: 6.654 MB / 319.4 MB, free: 26.56 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 2.024e-06/2.024e-06, allocations: 0 / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.272e-05/4.474e-05, allocations: 6.25 kB / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.004586/0.00463, allocations: 1.957 MB / 392.8 MB, free: 1.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007074/0.005338, allocations: 167.4 kB / 393 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.005531, allocations: 4 kB / 393 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.00575, allocations: 23.78 kB / 393 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.006135, allocations: 75.34 kB / 393.1 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.006367, allocations: 39.95 kB / 393.1 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008393/0.007206, allocations: 0.5132 MB / 393.7 MB, free: 204 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.007633, allocations: 154.2 kB / 393.8 MB, free: 48 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006933/0.008326, allocations: 275.5 kB / 394.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/0.008771, allocations: 179.6 kB / 394.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.008887, allocations: 48 kB / 394.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.009021, allocations: 48 kB / 394.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.009196, allocations: 103.7 kB / 394.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.009508, allocations: 147.7 kB / 394.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009241/0.01043, allocations: 0.5649 MB / 395.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.01044, allocations: 3.984 kB / 395.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01045, allocations: 0 / 395.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.01046, allocations: 0 / 395.2 MB, free: 14.69 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.001736/0.0122, allocations: 0.5677 MB / 395.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.01226, allocations: 12.03 kB / 395.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003555/0.01261, allocations: 60.7 kB / 395.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005915/0.0132, allocations: 261.8 kB / 396.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.01324, allocations: 21.03 kB / 396.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.968e-05/0.01333, allocations: 32.38 kB / 396.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/0.01426, allocations: 390.5 kB / 396.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.01429, allocations: 8.141 kB / 396.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.01433, allocations: 8.375 kB / 396.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.01437, allocations: 13.03 kB / 396.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/0.01522, allocations: 374.2 kB / 396.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.01746, allocations: 0.9298 MB / 397.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009171/0.01838, allocations: 377.3 kB / 398.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.01873, allocations: 185.1 kB / 398.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.01876, allocations: 4 kB / 398.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.01881, allocations: 46.36 kB / 398.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.657e-06/0.01881, allocations: 0 / 398.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001897/0.02071, allocations: 0.6323 MB / 399 MB, free: 10.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.02077, allocations: 55.41 kB / 399.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.02108, allocations: 194.3 kB / 399.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.02112, allocations: 33.64 kB / 399.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/0.02157, allocations: 176.5 kB / 399.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.02171, allocations: 87.66 kB / 399.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.02181, allocations: 41.7 kB / 399.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.02201, allocations: 330.8 kB / 399.9 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.02226, allocations: 119.9 kB / 400.1 MB, free: 9.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.02247, allocations: 127.8 kB / 400.2 MB, free: 9.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.02296, allocations: 268.7 kB / 400.4 MB, free: 9.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.02297, allocations: 0 / 400.4 MB, free: 9.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000963/0.02393, allocations: 444.1 kB / 400.9 MB, free: 8.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.02395, allocations: 4 kB / 400.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.02396, allocations: 0 / 400.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/0.02457, allocations: 150.4 kB / 401 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.02476, allocations: 35.97 kB / 401.1 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005817/0.03058, allocations: 4.782 MB / 405.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.03082, allocations: 23.91 kB / 405.9 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.03084, allocations: 8 kB / 405.9 MB, free: 3.465 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 0.0003559/0.0312, allocations: 201.7 kB / 406.1 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/0.03128, allocations: 24.03 kB / 406.1 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.03136, allocations: 37.95 kB / 406.1 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.03137, allocations: 4 kB / 406.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.03138, allocations: 0 / 406.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.03138, allocations: 0 / 406.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005711/0.03195, allocations: 301 kB / 406.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.03196, allocations: 0 / 406.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/0.03255, allocations: 39.97 kB / 406.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/0.03308, allocations: 150.5 kB / 406.6 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.03311, allocations: 11.98 kB / 406.6 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2141/0.2472, allocations: 4.769 MB / 411.4 MB, free: 80.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2472, allocations: 0 / 411.4 MB, free: 80.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.2485, allocations: 0.6629 MB / 412.1 MB, free: 80.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.2486, allocations: 24.12 kB / 412.1 MB, free: 80.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.2487, allocations: 13.56 kB / 412.1 MB, free: 80.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.2488, allocations: 13.05 kB / 412.1 MB, free: 80.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.2489, allocations: 20.33 kB / 412.1 MB, free: 80.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.249, allocations: 5.453 kB / 412.1 MB, free: 80.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.2491, allocations: 155.7 kB / 412.3 MB, free: 80.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2491, allocations: 0.5312 kB / 412.3 MB, free: 80.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007125/0.2498, allocations: 103.2 kB / 412.4 MB, free: 80.51 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 0.000167/0.25, allocations: 101.5 kB / 412.5 MB, free: 80.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.2511, allocations: 0.6467 MB / 413.1 MB, free: 80.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2511, allocations: 0 / 413.1 MB, free: 80.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.2518, allocations: 0.5172 MB / 413.7 MB, free: 79.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.2523, allocations: 40.94 kB / 413.7 MB, free: 79.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.254, allocations: 0.7889 MB / 414.5 MB, free: 79.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.2543, allocations: 241.7 kB / 414.7 MB, free: 79.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.2545, allocations: 49.14 kB / 414.8 MB, free: 79.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.2546, allocations: 17.25 kB / 414.8 MB, free: 79.28 MB / 330.7 MB Notification: Performance of SimCode: time 1.753e-06/0.2546, allocations: 0 / 414.8 MB, free: 79.28 MB / 330.7 MB Notification: Performance of Templates: time 0.01191/0.2665, allocations: 4.155 MB / 418.9 MB, free: 78.87 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.529934762977064]