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.001005/0.001005, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009503/0.0009503, allocations: 173 kB / 23.49 MB, free: 1.059 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.046/1.046, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.05535/0.05535, allocations: 6.483 MB / 266.8 MB, free: 6.711 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 2.334e-06/2.334e-06, allocations: 0 / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.46e-05, allocations: 4.703 kB / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.003643/0.003668, allocations: 3.687 MB / 341.8 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.005309, allocations: 1.928 MB / 343.7 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.005494, allocations: 11.94 kB / 343.7 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.005863, allocations: 206.7 kB / 343.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000441/0.006304, allocations: 290.4 kB / 344.2 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.006737, allocations: 395 kB / 344.6 MB, free: 4.598 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.007184, allocations: 0.6508 MB / 345.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.007419, allocations: 151.2 kB / 345.4 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.007679, allocations: 363.1 kB / 345.7 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.007951, allocations: 271.2 kB / 346 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.008003, allocations: 56 kB / 346.1 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.008174, allocations: 179.7 kB / 346.2 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.008308, allocations: 227.3 kB / 346.5 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.008441, allocations: 203.4 kB / 346.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.009049, allocations: 0.6305 MB / 347.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.009053, allocations: 4 kB / 347.3 MB, free: 1.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.009054, allocations: 0 / 347.3 MB, free: 1.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.009064, allocations: 0 / 347.3 MB, free: 1.879 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.001205/0.01027, allocations: 1.147 MB / 348.4 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.0103, allocations: 8.031 kB / 348.4 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.01042, allocations: 112.4 kB / 348.6 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.01089, allocations: 488.9 kB / 349 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.01092, allocations: 25.38 kB / 349.1 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.01098, allocations: 48.31 kB / 349.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.01147, allocations: 440.2 kB / 349.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.01148, allocations: 0 / 349.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.01151, allocations: 19.98 kB / 349.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.01153, allocations: 8 kB / 349.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.01175, allocations: 133.8 kB / 349.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.01341, allocations: 1.574 MB / 351.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.01375, allocations: 174.5 kB / 351.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/0.01383, allocations: 47.66 kB / 351.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.01386, allocations: 8 kB / 351.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.01404, allocations: 113 kB / 351.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/0.01404, allocations: 4 kB / 351.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005773/0.01461, allocations: 288.6 kB / 351.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.01467, allocations: 132.5 kB / 352 MB, free: 12.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006228/0.0153, allocations: 0.7221 MB / 352.7 MB, free: 12.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.01532, allocations: 33.7 kB / 352.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.01555, allocations: 407.3 kB / 353.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.0156, allocations: 83.28 kB / 353.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.01569, allocations: 79.34 kB / 353.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.01587, allocations: 0.5742 MB / 353.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.01599, allocations: 85.36 kB / 354 MB, free: 10.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.01617, allocations: 283.2 kB / 354.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.0164, allocations: 222.6 kB / 354.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0164, allocations: 4 kB / 354.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004209/0.01682, allocations: 391.6 kB / 354.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.01685, allocations: 36.67 kB / 354.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01686, allocations: 0 / 354.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.017, allocations: 27.67 kB / 354.9 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.01716, allocations: 67.91 kB / 355 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008145/0.01798, allocations: 1.736 MB / 356.7 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.01813, allocations: 47.77 kB / 356.8 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.01815, allocations: 12.03 kB / 356.8 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001811/0.01833, allocations: 212.5 kB / 357 MB, free: 7.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001755/0.0185, allocations: 276 kB / 357.3 MB, free: 7.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002036/0.01871, allocations: 226.9 kB / 357.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.01871, allocations: 0 / 357.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003927/0.0191, allocations: 379.8 kB / 357.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.01912, allocations: 37.69 kB / 357.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.01912, allocations: 4 kB / 357.9 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.884e-05/0.01918, allocations: 19.69 kB / 357.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.01933, allocations: 75.83 kB / 358 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007011/0.02003, allocations: 1.729 MB / 359.7 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.02017, allocations: 43.77 kB / 359.8 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.02018, allocations: 20 kB / 359.8 MB, free: 4.516 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.000128/0.02031, allocations: 284 kB / 360.1 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.02038, allocations: 71.58 kB / 360.1 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.0207, allocations: 233.5 kB / 360.4 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.02071, allocations: 7.938 kB / 360.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.02071, allocations: 0 / 360.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.02072, allocations: 4.062 kB / 360.4 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.0211, allocations: 428.2 kB / 360.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.0211, allocations: 0 / 360.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.02123, allocations: 43.97 kB / 360.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.886e-05/0.02129, allocations: 23.69 kB / 360.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.02131, allocations: 7.984 kB / 360.9 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006742/0.02198, allocations: 1.736 MB / 362.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.02198, allocations: 0 / 362.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.02237, allocations: 316.8 kB / 362.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.02244, allocations: 87.48 kB / 363 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.02248, allocations: 4 kB / 363 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.02258, allocations: 15.98 kB / 363 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.02265, allocations: 23.95 kB / 363 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.02266, allocations: 12.09 kB / 363 MB, free: 1.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003897/0.02305, allocations: 470.9 kB / 363.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02305, allocations: 0 / 363.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004565/0.02351, allocations: 251.3 kB / 363.8 MB, free: 352 kB / 282.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.001485/0.02499, allocations: 0.6756 MB / 364.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006876/0.02568, allocations: 0.7875 MB / 365.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02568, allocations: 0 / 365.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.02586, allocations: 249.4 kB / 365.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.02619, allocations: 112.5 kB / 365.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.02777, allocations: 1.093 MB / 366.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.02788, allocations: 161.2 kB / 366.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.02802, allocations: 72.22 kB / 366.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.255e-05/0.02811, allocations: 48.48 kB / 366.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02811, allocations: 0 / 366.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of Templates: time 0.01078/0.03889, allocations: 7.958 MB / 374.9 MB, free: 5.391 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: 2.9649979579262435]