Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001197/0.001197, 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.001317/0.001317, 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.094/1.094, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.04351/0.04351, allocations: 6.492 MB / 266.8 MB, free: 6.695 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 338.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.388e-05, allocations: 2.312 kB / 338.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.006419/0.006453, allocations: 3.695 MB / 341.8 MB, free: 8.461 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.009081, allocations: 1.928 MB / 343.7 MB, free: 6.527 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.009389, allocations: 7.938 kB / 343.7 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.009829, allocations: 206.7 kB / 343.9 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007245/0.01055, allocations: 286.4 kB / 344.2 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000796/0.01135, allocations: 403 kB / 344.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007533/0.0121, allocations: 0.6547 MB / 345.2 MB, free: 4.984 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.01239, allocations: 143.2 kB / 345.4 MB, free: 4.844 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.01283, allocations: 367.1 kB / 345.7 MB, free: 4.484 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.01318, allocations: 259.2 kB / 346 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/0.01325, allocations: 60 kB / 346.1 MB, free: 4.172 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.01354, allocations: 183.7 kB / 346.2 MB, free: 3.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.01371, allocations: 223.2 kB / 346.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.01389, allocations: 207.4 kB / 346.7 MB, free: 3.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008824/0.01477, allocations: 0.6344 MB / 347.3 MB, free: 2.934 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.01478, allocations: 0 / 347.3 MB, free: 2.934 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.01478, allocations: 4 kB / 347.3 MB, free: 2.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.0148, allocations: 0 / 347.3 MB, free: 2.93 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001447/0.01625, allocations: 1.147 MB / 348.4 MB, free: 1.734 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.01629, allocations: 8.031 kB / 348.5 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.01645, allocations: 112.4 kB / 348.6 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.01704, allocations: 489 kB / 349 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.01708, allocations: 25.38 kB / 349.1 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.01714, allocations: 52.27 kB / 349.1 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.01764, allocations: 436.2 kB / 349.5 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.01766, allocations: 4 kB / 349.5 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.01769, allocations: 12 kB / 349.6 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.0177, allocations: 15.94 kB / 349.6 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.01792, allocations: 129.8 kB / 349.7 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.0196, allocations: 1.586 MB / 351.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.01996, allocations: 173.2 kB / 351.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.115e-05/0.02005, allocations: 51.66 kB / 351.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.02008, allocations: 4 kB / 351.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.02026, allocations: 113 kB / 351.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.863e-06/0.02026, allocations: 0 / 351.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.00057/0.02083, allocations: 279.5 kB / 351.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.02091, allocations: 144.4 kB / 352 MB, free: 13.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.02158, allocations: 0.7221 MB / 352.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.02161, allocations: 29.7 kB / 352.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.02184, allocations: 411.3 kB / 353.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.02189, allocations: 87.34 kB / 353.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.02199, allocations: 83.3 kB / 353.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.02218, allocations: 0.5703 MB / 353.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.02231, allocations: 89.34 kB / 354 MB, free: 11.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.02249, allocations: 271.2 kB / 354.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.02273, allocations: 226.9 kB / 354.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02273, allocations: 0 / 354.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004678/0.0232, allocations: 375.8 kB / 354.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.02323, allocations: 37.69 kB / 354.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.02324, allocations: 4 kB / 354.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.02338, allocations: 23.89 kB / 354.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.02356, allocations: 71.91 kB / 355 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009079/0.02447, allocations: 1.74 MB / 356.7 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.02464, allocations: 43.75 kB / 356.8 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.02466, allocations: 16.12 kB / 356.8 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001888/0.02484, allocations: 212.5 kB / 357 MB, free: 8.621 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001869/0.02503, allocations: 276 kB / 357.3 MB, free: 8.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002151/0.02525, allocations: 222.7 kB / 357.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.574e-06/0.02525, allocations: 3.984 kB / 357.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0004019/0.02565, allocations: 383.5 kB / 357.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.02567, allocations: 33.7 kB / 357.9 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.02568, allocations: 3.984 kB / 357.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.785e-05/0.02575, allocations: 19.69 kB / 357.9 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.0259, allocations: 79.83 kB / 358 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000702/0.0266, allocations: 1.725 MB / 359.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.02675, allocations: 47.75 kB / 359.8 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.02677, allocations: 8 kB / 359.8 MB, free: 5.574 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 (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.000137/0.0269, allocations: 288 kB / 360.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.02697, allocations: 75.58 kB / 360.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.0273, allocations: 235.4 kB / 360.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.02731, allocations: 7.938 kB / 360.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.02731, allocations: 0 / 360.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.02731, allocations: 0 / 360.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.02767, allocations: 428.2 kB / 360.8 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02767, allocations: 0 / 360.8 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.02781, allocations: 43.97 kB / 360.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-05/0.02788, allocations: 15.69 kB / 360.8 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.0279, allocations: 11.98 kB / 360.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007027/0.0286, allocations: 1.736 MB / 362.6 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.0286, allocations: 0 / 362.6 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.029, allocations: 327.1 kB / 362.9 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.02908, allocations: 83.48 kB / 363 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.02912, allocations: 8 kB / 363 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.02923, allocations: 24.11 kB / 363 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.02929, allocations: 19.95 kB / 363 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.02931, allocations: 12 kB / 363.1 MB, free: 2.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004044/0.02971, allocations: 466.9 kB / 363.5 MB, free: 1.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02971, allocations: 0 / 363.5 MB, free: 1.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005168/0.03023, allocations: 251.3 kB / 363.8 MB, free: 1.383 MB / 330.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.001533/0.03176, allocations: 0.6799 MB / 364.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000765/0.03253, allocations: 0.7797 MB / 365.2 MB, free: 124 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.03253, allocations: 4.875 kB / 365.2 MB, free: 120 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.03273, allocations: 245.4 kB / 365.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.03311, allocations: 114 kB / 365.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.0348, allocations: 1.094 MB / 366.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.03491, allocations: 161.2 kB / 366.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.03507, allocations: 68.22 kB / 366.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.668e-05/0.03516, allocations: 44.48 kB / 366.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.03516, allocations: 4 kB / 366.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of Templates: time 0.01105/0.04621, allocations: 7.959 MB / 374.9 MB, free: 6.43 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3499759240075946]