Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001829/0.001829, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] 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.002857/0.002857, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.628/1.628, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.06056/0.06056, allocations: 6.466 MB / 266 MB, free: 6.68 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.635e-05, allocations: 6.312 kB / 337.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.004248/0.004275, allocations: 3.637 MB / 341 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.006557, allocations: 1.92 MB / 342.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.006798, allocations: 11.94 kB / 342.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.007158, allocations: 206.8 kB / 343.1 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.007665, allocations: 278.4 kB / 343.4 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.008298, allocations: 411 kB / 343.8 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.00875, allocations: 0.6507 MB / 344.4 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.00898, allocations: 155.2 kB / 344.6 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.009265, allocations: 363.1 kB / 344.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.009578, allocations: 259.2 kB / 345.2 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.041e-05/0.009649, allocations: 64 kB / 345.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.009896, allocations: 175.8 kB / 345.4 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.01003, allocations: 223.3 kB / 345.7 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.01019, allocations: 207.4 kB / 345.9 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007386/0.01093, allocations: 0.9423 MB / 346.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.01093, allocations: 0 / 346.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01093, allocations: 0 / 346.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.01094, allocations: 4 kB / 346.8 MB, free: 1.633 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001414/0.01236, allocations: 1.217 MB / 348 MB, free: 376 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.0124, allocations: 8.031 kB / 348 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.01256, allocations: 116.4 kB / 348.1 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007954/0.01335, allocations: 494.6 kB / 348.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.0134, allocations: 29.38 kB / 348.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.79e-05/0.01347, allocations: 44.36 kB / 348.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009535/0.01443, allocations: 0.5173 MB / 349.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.01445, allocations: 0 / 349.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.01449, allocations: 16 kB / 349.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.01451, allocations: 12 kB / 349.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.01521, allocations: 259.8 kB / 349.5 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/0.01831, allocations: 1.844 MB / 351.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/0.01912, allocations: 298.3 kB / 351.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.01939, allocations: 99.64 kB / 351.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.01943, allocations: 11.94 kB / 351.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.01986, allocations: 177.8 kB / 351.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.01986, allocations: 0 / 351.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001289/0.02115, allocations: 435.4 kB / 352.3 MB, free: 11.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.02125, allocations: 132.5 kB / 352.5 MB, free: 11.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.0226, allocations: 0.9058 MB / 353.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.02264, allocations: 29.7 kB / 353.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.02313, allocations: 459.3 kB / 353.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.02323, allocations: 91.28 kB / 353.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.0234, allocations: 99.34 kB / 354 MB, free: 10.1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0005148/0.02391, allocations: 0.6172 MB / 354.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.02428, allocations: 153.3 kB / 354.8 MB, free: 9.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.02481, allocations: 355.2 kB / 355.2 MB, free: 8.891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/0.02551, allocations: 366.3 kB / 355.5 MB, free: 8.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.02552, allocations: 4 kB / 355.5 MB, free: 8.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001137/0.02665, allocations: 0.4997 MB / 356 MB, free: 7.965 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.0267, allocations: 31.89 kB / 356 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.02671, allocations: 4 kB / 356 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.0269, allocations: 31.89 kB / 356.1 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.02721, allocations: 75.83 kB / 356.2 MB, free: 7.816 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.02881, allocations: 1.767 MB / 357.9 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.02911, allocations: 39.81 kB / 358 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.02915, allocations: 16 kB / 358 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000533/0.02968, allocations: 320.5 kB / 358.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004661/0.03014, allocations: 336 kB / 358.6 MB, free: 5.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006268/0.03077, allocations: 338.7 kB / 358.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.03077, allocations: 4 kB / 359 MB, free: 4.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009669/0.03174, allocations: 491.6 kB / 359.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.03177, allocations: 33.7 kB / 359.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.03178, allocations: 0 / 359.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.991e-05/0.03188, allocations: 31.89 kB / 359.5 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.03215, allocations: 71.91 kB / 359.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.0336, allocations: 1.771 MB / 361.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.03387, allocations: 39.81 kB / 361.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.0339, allocations: 8 kB / 361.4 MB, free: 2.188 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.03416, allocations: 300.1 kB / 361.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.03429, allocations: 83.47 kB / 361.8 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/0.03518, allocations: 319.3 kB / 362.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.03518, allocations: 4 kB / 362.1 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.03518, allocations: 0 / 362.1 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.03519, allocations: 0 / 362.1 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/0.03607, allocations: 0.5627 MB / 362.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.03607, allocations: 4 kB / 362.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.03632, allocations: 43.91 kB / 362.7 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-05/0.03641, allocations: 23.69 kB / 362.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.03644, allocations: 7.984 kB / 362.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.03786, allocations: 1.764 MB / 364.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.03786, allocations: 4.031 kB / 364.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.03899, allocations: 498.8 kB / 365 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.03918, allocations: 83.5 kB / 365 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.03924, allocations: 8 kB / 365.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.03946, allocations: 23.91 kB / 365.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/0.03955, allocations: 23.97 kB / 365.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.03957, allocations: 11.98 kB / 365.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008337/0.04041, allocations: 0.5458 MB / 365.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04041, allocations: 4 kB / 365.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007363/0.04114, allocations: 243.3 kB / 365.9 MB, free: 13.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005079/0.04622, allocations: 0.769 MB / 366.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.04801, allocations: 0.9791 MB / 367.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.04802, allocations: 0 / 367.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000526/0.04854, allocations: 301.4 kB / 367.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.04917, allocations: 103.7 kB / 368 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.05133, allocations: 1.145 MB / 369.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.05173, allocations: 333.5 kB / 369.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.05197, allocations: 76.2 kB / 369.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.0521, allocations: 44.48 kB / 369.6 MB, free: 9.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.0521, allocations: 0 / 369.6 MB, free: 9.91 MB / 298.7 MB Notification: Performance of Templates: time 0.0166/0.0687, allocations: 7.937 MB / 377.6 MB, free: 2.043 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.869231469929218]