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.001515/0.001515, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001402/0.001402, allocations: 193.8 kB / 16.25 MB, free: 6.621 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1718/0.1718, allocations: 8.228 MB / 298.3 MB, free: 2.289 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 59.91 kB / 360.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1226, allocations: 51.31 MB / 411.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.006087/0.1287, allocations: 3.481 MB / 415.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003008/0.1318, allocations: 1.615 MB / 416.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.1321, allocations: 4 kB / 416.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000668/0.1328, allocations: 311.1 kB / 417.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005736/0.1334, allocations: 251.1 kB / 417.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008878/0.1343, allocations: 354.4 kB / 417.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000677/0.135, allocations: 0.5615 MB / 418.3 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.1353, allocations: 177.7 kB / 418.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.1356, allocations: 239.1 kB / 418.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004753/0.1361, allocations: 334.9 kB / 419 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.118e-05/0.1362, allocations: 44 kB / 419.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.1365, allocations: 103.9 kB / 419.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.1367, allocations: 215.3 kB / 419.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.1371, allocations: 333.8 kB / 419.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009756/0.1381, allocations: 0.7943 MB / 420.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1381, allocations: 0 / 420.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1381, allocations: 3.938 kB / 420.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.547e-06/0.1381, allocations: 0 / 420.5 MB, free: 2.168 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00195/0.1401, allocations: 1.123 MB / 421.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1401, allocations: 11.89 kB / 421.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.1403, allocations: 87.81 kB / 421.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.1411, allocations: 0.5779 MB / 422.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.1411, allocations: 28.78 kB / 422.4 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.1412, allocations: 35.98 kB / 422.4 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1986/0.3398, allocations: 378.6 kB / 422.8 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.3399, allocations: 1.094 kB / 422.8 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.3399, allocations: 16.06 kB / 422.8 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.34, allocations: 8.469 kB / 422.8 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.3408, allocations: 283.8 kB / 423.1 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.3431, allocations: 1.583 MB / 424.6 MB, free: 43.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/0.3439, allocations: 310.4 kB / 424.9 MB, free: 43.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.3443, allocations: 113 kB / 425.1 MB, free: 43.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.3443, allocations: 6.297 kB / 425.1 MB, free: 43.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005073/0.3448, allocations: 178.8 kB / 425.2 MB, free: 43.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.374e-06/0.3448, allocations: 0 / 425.2 MB, free: 43.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001231/0.3461, allocations: 0.525 MB / 425.8 MB, free: 43.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3461, allocations: 84.69 kB / 425.8 MB, free: 43.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.3472, allocations: 1.13 MB / 427 MB, free: 43.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.3472, allocations: 31.95 kB / 427 MB, free: 43.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.3474, allocations: 375 kB / 427.4 MB, free: 42.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.3475, allocations: 80.94 kB / 427.4 MB, free: 42.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/0.3476, allocations: 51.33 kB / 427.5 MB, free: 42.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.3476, allocations: 316.6 kB / 427.8 MB, free: 42.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.3479, allocations: 127.5 kB / 427.9 MB, free: 42.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.3483, allocations: 178 kB / 428.1 MB, free: 42.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.3489, allocations: 310.9 kB / 428.4 MB, free: 42.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3489, allocations: 1.766 kB / 428.4 MB, free: 42.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008126/0.3497, allocations: 451.1 kB / 428.9 MB, free: 42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.3497, allocations: 32.14 kB / 428.9 MB, free: 41.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3497, allocations: 224 / 428.9 MB, free: 41.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001576/0.3499, allocations: 27.44 kB / 428.9 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.3502, allocations: 62.55 kB / 429 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000722/0.3509, allocations: 1.372 MB / 430.3 MB, free: 40.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.3512, allocations: 47.23 kB / 430.4 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3512, allocations: 11.03 kB / 430.4 MB, free: 40.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004586/0.3517, allocations: 341.4 kB / 430.7 MB, free: 40.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002683/0.352, allocations: 168.8 kB / 430.9 MB, free: 40.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004988/0.3525, allocations: 284.9 kB / 431.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.3525, allocations: 3.844 kB / 431.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007726/0.3533, allocations: 425.1 kB / 431.6 MB, free: 39.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.3533, allocations: 33.75 kB / 431.6 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3533, allocations: 3.188 kB / 431.6 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-05/0.3534, allocations: 24.09 kB / 431.7 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.3536, allocations: 57.44 kB / 431.7 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006199/0.3543, allocations: 1.389 MB / 433.1 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.3546, allocations: 34.06 kB / 433.1 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.3546, allocations: 10.22 kB / 433.1 MB, free: 38.45 MB / 350.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 (31): * Single equations (assignments): 29 * 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.0001183/0.3547, allocations: 198.6 kB / 433.3 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.3548, allocations: 71.17 kB / 433.4 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007926/0.3556, allocations: 381.6 kB / 433.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3556, allocations: 3.125 kB / 433.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3556, allocations: 0 / 433.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3556, allocations: 0 / 433.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.356, allocations: 0.5283 MB / 434.3 MB, free: 37.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.356, allocations: 6.906 kB / 434.3 MB, free: 37.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.3563, allocations: 51.97 kB / 434.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-05/0.3564, allocations: 19.02 kB / 434.4 MB, free: 37.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.3564, allocations: 7.531 kB / 434.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005728/0.357, allocations: 1.377 MB / 435.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.357, allocations: 2.875 kB / 435.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009584/0.358, allocations: 0.5103 MB / 436.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3581, allocations: 165.8 kB / 436.4 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.3581, allocations: 7.219 kB / 436.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.3584, allocations: 19.58 kB / 436.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.3585, allocations: 28.05 kB / 436.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.3585, allocations: 6.344 kB / 436.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007055/0.3592, allocations: 0.8223 MB / 437.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3592, allocations: 0 / 437.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005952/0.3598, allocations: 205.7 kB / 437.5 MB, free: 35.62 MB / 350.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 (22): * Single equations (assignments): 19 * 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.002221/0.362, allocations: 0.5968 MB / 438.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.3635, allocations: 0.7589 MB / 438.9 MB, free: 34.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3635, allocations: 0.5625 kB / 438.9 MB, free: 34.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004122/0.3639, allocations: 241.6 kB / 439.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.3645, allocations: 107.4 kB / 439.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.3665, allocations: 1.705 MB / 440.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.3669, allocations: 0.9641 MB / 441.9 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002158/0.3671, allocations: 75.83 kB / 442 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.791e-05/0.3672, allocations: 38.16 kB / 442 MB, free: 33.11 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3672, allocations: 7.562 kB / 442 MB, free: 33.11 MB / 350.1 MB Notification: Performance of Templates: time 0.0114/0.3786, allocations: 6.461 MB / 448.5 MB, free: 32.61 MB / 350.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)