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.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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001229, allocations: 106 kB / 15.99 MB, free: 6.352 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.002003/0.002003, allocations: 193 kB / 16.91 MB, free: 6.184 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.651/1.651, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0428/0.0428, allocations: 8.585 MB / 299.3 MB, free: 6.555 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 59.89 kB / 361.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3358, allocations: 51.39 MB / 412.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.006417/0.3422, allocations: 3.564 MB / 416.5 MB, free: 22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004008/0.3463, allocations: 1.636 MB / 418.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/0.3468, allocations: 11.94 kB / 418.1 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007748/0.3476, allocations: 307.2 kB / 418.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007816/0.3484, allocations: 247.1 kB / 418.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.3499, allocations: 361.3 kB / 419 MB, free: 19.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000837/0.3508, allocations: 0.5888 MB / 419.6 MB, free: 18.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004625/0.3513, allocations: 196.4 kB / 419.8 MB, free: 18.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.3518, allocations: 255.1 kB / 420 MB, free: 18.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005561/0.3524, allocations: 350.8 kB / 420.4 MB, free: 18.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.94e-05/0.3525, allocations: 44 kB / 420.4 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.3528, allocations: 95.98 kB / 420.5 MB, free: 17.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.3531, allocations: 231.2 kB / 420.8 MB, free: 17.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.3534, allocations: 337.8 kB / 421.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008811/0.3543, allocations: 0.651 MB / 421.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3544, allocations: 0 / 421.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3544, allocations: 0 / 421.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3544, allocations: 0 / 421.7 MB, free: 16.73 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002257/0.3567, allocations: 1.146 MB / 422.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3567, allocations: 15.88 kB / 422.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.357, allocations: 91.84 kB / 423 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/0.3579, allocations: 0.5896 MB / 423.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.358, allocations: 28.59 kB / 423.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.3581, allocations: 39.91 kB / 423.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.3592, allocations: 387.6 kB / 424 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.3593, allocations: 7.938 kB / 424 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.3593, allocations: 12 kB / 424 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.3594, allocations: 11.94 kB / 424.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.3606, allocations: 286.4 kB / 424.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/0.364, allocations: 1.647 MB / 426 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.3655, allocations: 326.4 kB / 426.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.366, allocations: 120.7 kB / 426.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.3661, allocations: 4 kB / 426.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008143/0.3669, allocations: 179.1 kB / 426.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 3.186e-06/0.3669, allocations: 0 / 426.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.002272/0.3692, allocations: 0.5296 MB / 427.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.3693, allocations: 81.11 kB / 427.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.3713, allocations: 1.165 MB / 428.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.3713, allocations: 33.7 kB / 428.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/0.3718, allocations: 384.1 kB / 428.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.688e-05/0.3719, allocations: 78.81 kB / 428.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.372, allocations: 77.62 kB / 428.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.3721, allocations: 325.9 kB / 429.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.3727, allocations: 132.7 kB / 429.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.3734, allocations: 203.6 kB / 429.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.3745, allocations: 340.7 kB / 429.9 MB, free: 8.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3745, allocations: 4 kB / 429.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001719/0.3763, allocations: 478.7 kB / 430.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.3763, allocations: 41.91 kB / 430.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3764, allocations: 0 / 430.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.3766, allocations: 20.86 kB / 430.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.3771, allocations: 87.8 kB / 430.5 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.3783, allocations: 1.363 MB / 431.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006774/0.379, allocations: 51.84 kB / 431.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.379, allocations: 19.98 kB / 432 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009525/0.38, allocations: 355.9 kB / 432.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005665/0.3806, allocations: 195.6 kB / 432.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009796/0.3816, allocations: 323.6 kB / 432.8 MB, free: 5.055 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.3816, allocations: 3.938 kB / 432.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001487/0.3831, allocations: 466.7 kB / 433.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3831, allocations: 33.7 kB / 433.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3831, allocations: 4 kB / 433.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000117/0.3833, allocations: 20.84 kB / 433.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.3838, allocations: 80.08 kB / 433.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000932/0.3847, allocations: 1.382 MB / 434.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.3853, allocations: 35.77 kB / 434.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.3854, allocations: 15.98 kB / 434.8 MB, free: 2.855 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.0002183/0.3856, allocations: 199.3 kB / 435 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.3858, allocations: 75 kB / 435.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.3873, allocations: 378.9 kB / 435.5 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3873, allocations: 7.984 kB / 435.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3873, allocations: 0 / 435.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.3873, allocations: 0 / 435.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.3881, allocations: 0.5516 MB / 436 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3882, allocations: 0 / 436 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.3886, allocations: 55.89 kB / 436.1 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.3888, allocations: 20.84 kB / 436.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.3888, allocations: 4 kB / 436.1 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009108/0.3897, allocations: 1.367 MB / 437.5 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.71e-05/0.3898, allocations: 8.203 kB / 437.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.3921, allocations: 0.5037 MB / 438 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.3925, allocations: 172.1 kB / 438.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.3926, allocations: 15.94 kB / 438.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.3931, allocations: 19.97 kB / 438.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3932, allocations: 27.97 kB / 438.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3932, allocations: 4 kB / 438.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00208/0.3953, allocations: 0.8426 MB / 439.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.3954, allocations: 4 kB / 439.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0013/0.3967, allocations: 223.4 kB / 439.3 MB, free: 14.16 MB / 318.1 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.003756/0.4004, allocations: 0.5928 MB / 439.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003228/0.4037, allocations: 0.8129 MB / 440.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4037, allocations: 128 / 440.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008828/0.4046, allocations: 254.4 kB / 440.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.4058, allocations: 89.64 kB / 441 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.4109, allocations: 1.788 MB / 442.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.412, allocations: 0.9649 MB / 443.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.4123, allocations: 39.42 kB / 443.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4123, allocations: 0 / 443.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of Templates: time 0.02886/0.4411, allocations: 11.1 MB / 454.9 MB, free: 14.66 MB / 334.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile (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)