Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.001027/0.001027, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001169/0.001169, allocations: 169 kB / 23.27 MB, free: 1.223 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.9806/0.9806, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.02616/0.02616, allocations: 6.494 MB / 266.7 MB, free: 6.496 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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.727e-05, allocations: 4.703 kB / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.00521/0.005228, allocations: 3.657 MB / 342.2 MB, free: 7.906 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.008089, allocations: 1.925 MB / 344.1 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.008363, allocations: 11.94 kB / 344.1 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.008816, allocations: 198.8 kB / 344.3 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006427/0.009459, allocations: 294.4 kB / 344.6 MB, free: 5.477 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007642/0.01022, allocations: 395 kB / 345 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007128/0.01094, allocations: 0.6546 MB / 345.6 MB, free: 4.434 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.01122, allocations: 147.2 kB / 345.8 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.01171, allocations: 371 kB / 346.1 MB, free: 3.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.01202, allocations: 243.3 kB / 346.4 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.01209, allocations: 52 kB / 346.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.01227, allocations: 123.8 kB / 346.5 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.01246, allocations: 215.3 kB / 346.8 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.01263, allocations: 191.4 kB / 346.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006616/0.01329, allocations: 0.5681 MB / 347.5 MB, free: 2.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.01329, allocations: 0 / 347.5 MB, free: 2.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.0133, allocations: 4 kB / 347.5 MB, free: 2.547 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.0133, allocations: 0 / 347.5 MB, free: 2.547 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.00104/0.01434, allocations: 1.123 MB / 348.6 MB, free: 1.375 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.01437, allocations: 12.02 kB / 348.6 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.957e-05/0.01447, allocations: 116.4 kB / 348.8 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.01484, allocations: 453 kB / 349.2 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.01486, allocations: 33.38 kB / 349.2 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.01491, allocations: 44.31 kB / 349.3 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.01536, allocations: 353.1 kB / 349.6 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.01538, allocations: 0 / 349.6 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.0154, allocations: 16 kB / 349.6 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.01541, allocations: 8 kB / 349.6 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.01556, allocations: 106.8 kB / 349.8 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.01676, allocations: 1.442 MB / 351.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.01699, allocations: 174.4 kB / 351.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.01704, allocations: 35.67 kB / 351.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.01707, allocations: 8 kB / 351.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.01721, allocations: 108.9 kB / 351.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.01721, allocations: 0 / 351.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003803/0.01759, allocations: 263.1 kB / 351.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.01762, allocations: 84.97 kB / 351.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/0.01807, allocations: 0.6749 MB / 352.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.01809, allocations: 33.7 kB / 352.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.0183, allocations: 419.2 kB / 353 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.01835, allocations: 95.19 kB / 353.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.01843, allocations: 87.25 kB / 353.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.01859, allocations: 0.5741 MB / 353.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.01866, allocations: 81.34 kB / 353.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.01877, allocations: 192.3 kB / 354 MB, free: 11.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.01893, allocations: 211.4 kB / 354.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01893, allocations: 0 / 354.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003105/0.01924, allocations: 351.8 kB / 354.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.01927, allocations: 37.7 kB / 354.6 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.01927, allocations: 0 / 354.6 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.165e-05/0.01936, allocations: 23.67 kB / 354.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.01951, allocations: 80.11 kB / 354.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007008/0.02021, allocations: 1.713 MB / 356.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.02039, allocations: 39.83 kB / 356.4 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.02042, allocations: 15.98 kB / 356.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001587/0.02058, allocations: 192.5 kB / 356.6 MB, free: 8.895 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001045/0.02068, allocations: 197.3 kB / 356.8 MB, free: 8.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002044/0.02089, allocations: 202.8 kB / 357 MB, free: 8.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.02089, allocations: 4 kB / 357 MB, free: 8.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0002852/0.02118, allocations: 363.4 kB / 357.4 MB, free: 8.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.02119, allocations: 33.7 kB / 357.4 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.0212, allocations: 0 / 357.4 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.048e-05/0.02125, allocations: 23.67 kB / 357.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.02138, allocations: 71.91 kB / 357.5 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006739/0.02205, allocations: 1.718 MB / 359.2 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.02216, allocations: 31.88 kB / 359.3 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.02218, allocations: 12 kB / 359.3 MB, free: 6.016 MB / 330.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 (iceT.tokgFuel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 9.632e-05/0.02227, allocations: 291.9 kB / 359.6 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.02233, allocations: 75.53 kB / 359.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.02256, allocations: 215.1 kB / 359.8 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.02256, allocations: 8 kB / 359.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.02256, allocations: 0 / 359.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.02257, allocations: 3.938 kB / 359.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.02282, allocations: 320.8 kB / 360.2 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.02282, allocations: 0 / 360.2 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.02294, allocations: 43.92 kB / 360.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.955e-05/0.02299, allocations: 23.67 kB / 360.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.023, allocations: 0 / 360.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005303/0.02353, allocations: 1.71 MB / 361.9 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.02353, allocations: 0 / 361.9 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.02405, allocations: 302.7 kB / 362.2 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.02411, allocations: 67.5 kB / 362.3 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.02414, allocations: 11.94 kB / 362.3 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.004e-05/0.02423, allocations: 28.05 kB / 362.3 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.02428, allocations: 23.95 kB / 362.4 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.02428, allocations: 7.984 kB / 362.4 MB, free: 2.719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002439/0.02453, allocations: 418.8 kB / 362.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02453, allocations: 0 / 362.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.02489, allocations: 219.5 kB / 363 MB, free: 2.098 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.tokgFuel.y,loadTorque.phi) * 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.001048/0.02593, allocations: 0.5726 MB / 363.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.02643, allocations: 0.752 MB / 364.3 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.02643, allocations: 0.875 kB / 364.3 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.02656, allocations: 241.4 kB / 364.6 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.02684, allocations: 103.7 kB / 364.7 MB, free: 0.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.02816, allocations: 1.084 MB / 365.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.098e-05/0.02826, allocations: 165.2 kB / 365.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.02838, allocations: 60.23 kB / 366 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.02855, allocations: 162.1 kB / 366.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02855, allocations: 0 / 366.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of Templates: time 0.01047/0.03902, allocations: 7.534 MB / 373.7 MB, free: 7.605 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.127479227259755]