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.001438/0.001438, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.00149/0.00149, 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 1.051/1.051, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.03704/0.03704, allocations: 6.496 MB / 266.7 MB, free: 6.477 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.685e-06/2.685e-06, allocations: 0 / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.354e-05, allocations: 2.312 kB / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005052/0.005085, allocations: 3.637 MB / 342.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.007703, allocations: 1.924 MB / 344.1 MB, free: 6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.007918, allocations: 11.94 kB / 344.1 MB, free: 5.988 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.008296, allocations: 198.8 kB / 344.3 MB, free: 5.793 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.00876, allocations: 294.3 kB / 344.6 MB, free: 5.504 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.009229, allocations: 395.1 kB / 345 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.009705, allocations: 0.6585 MB / 345.6 MB, free: 4.457 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.00992, allocations: 143.2 kB / 345.8 MB, free: 4.316 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.0102, allocations: 359.2 kB / 346.1 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.01046, allocations: 271.2 kB / 346.4 MB, free: 3.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.01052, allocations: 56 kB / 346.4 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.01098, allocations: 179.7 kB / 346.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.01112, allocations: 227.3 kB / 346.8 MB, free: 3.246 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.01126, allocations: 207.4 kB / 347 MB, free: 3.043 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.0118, allocations: 0.6305 MB / 347.7 MB, free: 2.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.0118, allocations: 0 / 347.7 MB, free: 2.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.0118, allocations: 0 / 347.7 MB, free: 2.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.01181, allocations: 3.938 kB / 347.7 MB, free: 2.406 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.001025/0.01283, allocations: 1.143 MB / 348.8 MB, free: 1.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.01287, allocations: 12.03 kB / 348.8 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.01299, allocations: 120.4 kB / 348.9 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.01339, allocations: 468.9 kB / 349.4 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.01342, allocations: 25.38 kB / 349.4 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.01347, allocations: 52.31 kB / 349.5 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.01385, allocations: 420.1 kB / 349.9 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.01386, allocations: 0 / 349.9 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.01389, allocations: 16 kB / 349.9 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.0139, allocations: 11.94 kB / 349.9 MB, free: 28 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.01406, allocations: 106.9 kB / 350 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.01539, allocations: 1.461 MB / 351.5 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.01567, allocations: 158.4 kB / 351.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.01572, allocations: 35.67 kB / 351.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.01575, allocations: 11.92 kB / 351.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.01589, allocations: 113 kB / 351.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.01589, allocations: 0 / 351.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004067/0.0163, allocations: 263.1 kB / 352.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.01635, allocations: 136.4 kB / 352.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.01683, allocations: 0.6944 MB / 352.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.01685, allocations: 33.7 kB / 352.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.01709, allocations: 415.2 kB / 353.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.01714, allocations: 91.23 kB / 353.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.01722, allocations: 91.27 kB / 353.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005621/0.01778, allocations: 0.5741 MB / 354.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.01787, allocations: 73.3 kB / 354.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.01803, allocations: 267.2 kB / 354.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.01822, allocations: 203.4 kB / 354.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01822, allocations: 4 kB / 354.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003732/0.01859, allocations: 355.8 kB / 355 MB, free: 10.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.01862, allocations: 32.52 kB / 355 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01863, allocations: 4 kB / 355 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.01873, allocations: 23.67 kB / 355 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.01888, allocations: 76.11 kB / 355.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007347/0.01962, allocations: 1.713 MB / 356.8 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.01976, allocations: 43.77 kB / 356.8 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.01978, allocations: 11.98 kB / 356.9 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001482/0.01992, allocations: 200.5 kB / 357 MB, free: 8.441 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001348/0.02006, allocations: 268 kB / 357.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001593/0.02022, allocations: 206.7 kB / 357.5 MB, free: 7.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.02022, allocations: 0 / 357.5 MB, free: 7.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003139/0.02053, allocations: 355.7 kB / 357.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.02055, allocations: 37.62 kB / 357.9 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.02056, allocations: 7.938 kB / 357.9 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.408e-05/0.02062, allocations: 19.69 kB / 357.9 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.02075, allocations: 71.89 kB / 358 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006778/0.02143, allocations: 1.718 MB / 359.7 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.02155, allocations: 35.83 kB / 359.7 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.02156, allocations: 15.98 kB / 359.8 MB, free: 5.469 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 0.0001178/0.02168, allocations: 290.5 kB / 360 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.02178, allocations: 71.58 kB / 360.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.02207, allocations: 215.2 kB / 360.3 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.02207, allocations: 8.062 kB / 360.3 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.02207, allocations: 0 / 360.3 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.02208, allocations: 48 / 360.3 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.0225, allocations: 336.7 kB / 360.7 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.0225, allocations: 0 / 360.7 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.0227, allocations: 43.97 kB / 360.7 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.02293, allocations: 19.62 kB / 360.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.02295, allocations: 7.984 kB / 360.7 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009387/0.02389, allocations: 1.706 MB / 362.4 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.02389, allocations: 7.938 kB / 362.4 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.02438, allocations: 291.2 kB / 362.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/0.02448, allocations: 79.48 kB / 362.8 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.02453, allocations: 7.938 kB / 362.8 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.02468, allocations: 20.11 kB / 362.8 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.02474, allocations: 27.95 kB / 362.9 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.02476, allocations: 8 kB / 362.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00046/0.02522, allocations: 442.8 kB / 363.3 MB, free: 1.738 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02522, allocations: 0 / 363.3 MB, free: 1.738 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007119/0.02593, allocations: 251.3 kB / 363.5 MB, free: 1.492 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.002081/0.02801, allocations: 0.6676 MB / 364.2 MB, free: 1.094 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.02919, allocations: 0.7523 MB / 365 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.0292, allocations: 4 kB / 365 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.02938, allocations: 242.3 kB / 365.2 MB, free: 4 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.02987, allocations: 110.4 kB / 365.3 MB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.03162, allocations: 1.085 MB / 366.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.03174, allocations: 161.2 kB / 366.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.03189, allocations: 64.22 kB / 366.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.03212, allocations: 174.1 kB / 366.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.03212, allocations: 4 kB / 366.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of Templates: time 0.01103/0.04315, allocations: 8.586 MB / 375.4 MB, free: 5.879 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.3621738902293146]