Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001439/0.001439, allocations: 88.72 kB / 19.44 MB, free: 356 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.001594/0.001594, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.51/1.51, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04262/0.04262, allocations: 6.496 MB / 266.1 MB, free: 6.652 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.535e-05, allocations: 2.312 kB / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.00418/0.004215, allocations: 3.516 MB / 340.9 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.006444, allocations: 1.911 MB / 342.8 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.006656, allocations: 19.88 kB / 342.8 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.007059, allocations: 198.8 kB / 343 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005311/0.00759, allocations: 278.5 kB / 343.3 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.008202, allocations: 406.9 kB / 343.7 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004862/0.008688, allocations: 0.6508 MB / 344.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.008935, allocations: 147.2 kB / 344.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.009312, allocations: 371 kB / 344.8 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.009578, allocations: 247.2 kB / 345.1 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.88e-05/0.009637, allocations: 52 kB / 345.1 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.009782, allocations: 115.8 kB / 345.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.009925, allocations: 219.3 kB / 345.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.01008, allocations: 195.4 kB / 345.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000653/0.01073, allocations: 0.8527 MB / 346.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.01073, allocations: 0 / 346.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01073, allocations: 0 / 346.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.01074, allocations: 0 / 346.5 MB, free: 1.973 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0014/0.01214, allocations: 1.027 MB / 347.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.01218, allocations: 12.03 kB / 347.5 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.01233, allocations: 116.4 kB / 347.6 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/0.01293, allocations: 0.545 MB / 348.2 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.01296, allocations: 25.38 kB / 348.2 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.01302, allocations: 44.33 kB / 348.2 MB, free: 144 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009158/0.01394, allocations: 454.3 kB / 348.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.01396, allocations: 0 / 348.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.014, allocations: 19.98 kB / 348.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.01401, allocations: 8 kB / 348.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.01513, allocations: 311.7 kB / 349 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.01776, allocations: 1.442 MB / 350.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009886/0.01875, allocations: 321.1 kB / 350.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.01912, allocations: 120.7 kB / 350.9 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.01917, allocations: 4 kB / 350.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005114/0.01968, allocations: 185.6 kB / 351.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.01968, allocations: 0 / 351.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001555/0.02123, allocations: 477.7 kB / 351.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.0213, allocations: 81.11 kB / 351.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.02261, allocations: 0.9299 MB / 352.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.02265, allocations: 33.7 kB / 352.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.02302, allocations: 360.6 kB / 352.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.02312, allocations: 83.33 kB / 353 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.02326, allocations: 77.61 kB / 353.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002648/0.02352, allocations: 386.7 kB / 353.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.02397, allocations: 166.5 kB / 353.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.02449, allocations: 259 kB / 353.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.02536, allocations: 355.8 kB / 354.2 MB, free: 9.898 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.02536, allocations: 8 kB / 354.2 MB, free: 9.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001257/0.02662, allocations: 0.52 MB / 354.8 MB, free: 9.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.02666, allocations: 33.92 kB / 354.8 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.02667, allocations: 4 kB / 354.8 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/0.02685, allocations: 28.84 kB / 354.8 MB, free: 9.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.02722, allocations: 83.81 kB / 354.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.02869, allocations: 1.245 MB / 356.2 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.02904, allocations: 51.73 kB / 356.2 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.02907, allocations: 12 kB / 356.2 MB, free: 7.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006797/0.02975, allocations: 369.7 kB / 356.6 MB, free: 7.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004967/0.03025, allocations: 243.8 kB / 356.8 MB, free: 7.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007834/0.03103, allocations: 324.2 kB / 357.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.03103, allocations: 0 / 357.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001136/0.03217, allocations: 0.5047 MB / 357.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.03221, allocations: 33.7 kB / 357.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.03221, allocations: 4 kB / 357.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.88e-05/0.03231, allocations: 29.06 kB / 357.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.03262, allocations: 75.89 kB / 357.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.03382, allocations: 1.253 MB / 359 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.03414, allocations: 47.91 kB / 359.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.03417, allocations: 12 kB / 359.1 MB, free: 4.695 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.0001882/0.03435, allocations: 204.1 kB / 359.3 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.03448, allocations: 71.58 kB / 359.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.03552, allocations: 373.1 kB / 359.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.03553, allocations: 4 kB / 359.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.03553, allocations: 0 / 359.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.03554, allocations: 3.984 kB / 359.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.03611, allocations: 397 kB / 360.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.03611, allocations: 0 / 360.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.03642, allocations: 55.89 kB / 360.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-05/0.03652, allocations: 20.84 kB / 360.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.03654, allocations: 12 kB / 360.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.03774, allocations: 1.241 MB / 361.4 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.03774, allocations: 4 kB / 361.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.03918, allocations: 0.5319 MB / 362 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.03934, allocations: 83.48 kB / 362.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/0.03941, allocations: 8 kB / 362.1 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.03967, allocations: 27.95 kB / 362.1 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.465e-05/0.03977, allocations: 23.95 kB / 362.1 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.03979, allocations: 8 kB / 362.1 MB, free: 1.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009877/0.04078, allocations: 0.6709 MB / 362.8 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04078, allocations: 0 / 362.8 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000821/0.0416, allocations: 215.5 kB / 363 MB, free: 0.5977 MB / 282.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.00321/0.04481, allocations: 0.6489 MB / 363.7 MB, free: 252 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.04684, allocations: 0.8485 MB / 364.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.04684, allocations: 4.125 kB / 364.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.04742, allocations: 254.4 kB / 364.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.04802, allocations: 104 kB / 364.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.0506, allocations: 1.294 MB / 366.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.05106, allocations: 337.7 kB / 366.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002735/0.05134, allocations: 84.22 kB / 366.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.05147, allocations: 44.48 kB / 366.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.05147, allocations: 0 / 366.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of Templates: time 0.01579/0.06726, allocations: 6.98 MB / 373.6 MB, free: 6.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.591321841930039]