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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 109.5 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 193.7 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04236/0.04236, allocations: 8.583 MB / 299.3 MB, free: 6.434 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 59.91 kB / 361.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3384, allocations: 51.38 MB / 412.9 MB, free: 25.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.004814/0.3433, allocations: 3.543 MB / 416.5 MB, free: 22.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.3459, allocations: 1.643 MB / 418.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.3463, allocations: 8 kB / 418.1 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.3468, allocations: 307.2 kB / 418.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.3473, allocations: 247.1 kB / 418.6 MB, free: 19.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.3482, allocations: 373 kB / 419 MB, free: 19.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.3487, allocations: 0.581 MB / 419.6 MB, free: 18.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.3489, allocations: 188.5 kB / 419.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.3492, allocations: 259 kB / 420 MB, free: 18.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003835/0.3495, allocations: 350.8 kB / 420.4 MB, free: 18.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.3496, allocations: 48 kB / 420.4 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.3498, allocations: 120 kB / 420.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.35, allocations: 231.2 kB / 420.8 MB, free: 17.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.3503, allocations: 349.8 kB / 421.1 MB, free: 17.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.3508, allocations: 0.6589 MB / 421.8 MB, free: 16.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3508, allocations: 8 kB / 421.8 MB, free: 16.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3508, allocations: 3.984 kB / 421.8 MB, free: 16.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.3509, allocations: 0 / 421.8 MB, free: 16.67 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001451/0.3523, allocations: 1.154 MB / 422.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3524, allocations: 15.89 kB / 422.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.3525, allocations: 87.91 kB / 423 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.3531, allocations: 0.5935 MB / 423.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.3532, allocations: 24.78 kB / 423.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.3532, allocations: 39.91 kB / 423.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/0.3539, allocations: 401.2 kB / 424.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.3539, allocations: 4 kB / 424.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.3539, allocations: 16 kB / 424.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.354, allocations: 8 kB / 424.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.3546, allocations: 290.3 kB / 424.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.3564, allocations: 1.643 MB / 426 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/0.3572, allocations: 331.5 kB / 426.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.3574, allocations: 116.4 kB / 426.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.3575, allocations: 7.938 kB / 426.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/0.358, allocations: 183.1 kB / 426.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.358, allocations: 0 / 426.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001144/0.3591, allocations: 0.5296 MB / 427.2 MB, free: 11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3592, allocations: 136.5 kB / 427.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009918/0.3602, allocations: 1.169 MB / 428.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3602, allocations: 33.7 kB / 428.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.3604, allocations: 400 kB / 428.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.3605, allocations: 78.91 kB / 429 MB, free: 9.145 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.787e-05/0.3606, allocations: 73.61 kB / 429.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.3607, allocations: 325.9 kB / 429.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.361, allocations: 136.8 kB / 429.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.3613, allocations: 217.2 kB / 429.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.3619, allocations: 332.8 kB / 430 MB, free: 8.004 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3619, allocations: 3.938 kB / 430.1 MB, free: 8 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008687/0.3628, allocations: 490.7 kB / 430.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3628, allocations: 33.7 kB / 430.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3629, allocations: 0 / 430.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001103/0.363, allocations: 29.06 kB / 430.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.3632, allocations: 79.83 kB / 430.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006701/0.3639, allocations: 1.367 MB / 432 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.3642, allocations: 55.69 kB / 432.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.3643, allocations: 16 kB / 432.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004528/0.3647, allocations: 368 kB / 432.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002837/0.365, allocations: 193.3 kB / 432.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004953/0.3655, allocations: 335.5 kB / 433 MB, free: 4.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.3655, allocations: 0 / 433 MB, free: 4.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0007416/0.3663, allocations: 474.6 kB / 433.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3663, allocations: 29.7 kB / 433.5 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3663, allocations: 4 kB / 433.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.862e-05/0.3664, allocations: 28.78 kB / 433.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3667, allocations: 75.89 kB / 433.6 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006494/0.3673, allocations: 1.379 MB / 435 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.3676, allocations: 43.66 kB / 435 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.3676, allocations: 12 kB / 435 MB, free: 2.633 MB / 302.1 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.0001393/0.3678, allocations: 202.4 kB / 435.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.3678, allocations: 75.06 kB / 435.3 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008003/0.3687, allocations: 383 kB / 435.7 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3687, allocations: 0 / 435.7 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3687, allocations: 0 / 435.7 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3687, allocations: 4 kB / 435.7 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.3692, allocations: 0.5477 MB / 436.2 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3692, allocations: 3.938 kB / 436.2 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.3694, allocations: 59.89 kB / 436.3 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.909e-05/0.3695, allocations: 24.84 kB / 436.3 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3695, allocations: 0 / 436.3 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007179/0.3702, allocations: 1.364 MB / 437.7 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3703, allocations: 4.031 kB / 437.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.3715, allocations: 0.5199 MB / 438.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.3717, allocations: 160.2 kB / 438.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.3718, allocations: 8 kB / 438.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.3721, allocations: 27.91 kB / 438.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3722, allocations: 27.91 kB / 438.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3722, allocations: 8 kB / 438.4 MB, free: 14.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001127/0.3733, allocations: 0.8504 MB / 439.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3733, allocations: 0 / 439.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007912/0.3741, allocations: 231.4 kB / 439.5 MB, free: 13.92 MB / 318.1 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.002648/0.3768, allocations: 0.6417 MB / 440.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.3786, allocations: 0.8206 MB / 441 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3787, allocations: 0 / 441 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.3792, allocations: 242.6 kB / 441.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.3798, allocations: 98.12 kB / 441.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.3828, allocations: 1.795 MB / 443.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/0.3836, allocations: 0.961 MB / 444 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.3837, allocations: 43.44 kB / 444.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3837, allocations: 0 / 444.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of Templates: time 0.02024/0.404, allocations: 11.37 MB / 455.5 MB, free: 14.09 MB / 334.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile (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=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1)