Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.001717, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00201/0.00201, allocations: 191.6 kB / 16.25 MB, free: 6.637 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.541/1.541, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2048/0.2048, allocations: 8.233 MB / 298.3 MB, free: 2.246 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001916, allocations: 68.08 kB / 360.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1078, allocations: 51.3 MB / 411.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005617/0.1134, allocations: 3.676 MB / 415.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.1155, allocations: 1.029 MB / 416.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.1158, allocations: 11.94 kB / 416.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.1165, allocations: 307.2 kB / 416.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.117, allocations: 247.1 kB / 417 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009048/0.1179, allocations: 330.5 kB / 417.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006881/0.1186, allocations: 0.6047 MB / 417.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004799/0.1191, allocations: 282.9 kB / 418.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.1194, allocations: 267 kB / 418.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004323/0.1199, allocations: 374.7 kB / 418.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.141e-05/0.12, allocations: 48 kB / 418.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.1202, allocations: 123.9 kB / 419 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.1204, allocations: 227.3 kB / 419.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.1207, allocations: 373.6 kB / 419.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009081/0.1217, allocations: 0.8681 MB / 420.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1217, allocations: 7.984 kB / 420.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1217, allocations: 4 kB / 420.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1217, allocations: 0 / 420.5 MB, free: 2.242 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002106/0.1238, allocations: 1.173 MB / 421.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.1239, allocations: 11.89 kB / 421.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.1241, allocations: 99.81 kB / 421.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009504/0.125, allocations: 0.6011 MB / 422.4 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/0.1251, allocations: 40.94 kB / 422.4 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1252, allocations: 44 kB / 422.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2242/0.3494, allocations: 447.7 kB / 422.9 MB, free: 43.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.3495, allocations: 2.094 kB / 422.9 MB, free: 43.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.3495, allocations: 18.38 kB / 422.9 MB, free: 43.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.3496, allocations: 11.47 kB / 422.9 MB, free: 43.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.3503, allocations: 327.9 kB / 423.2 MB, free: 43.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.3526, allocations: 1.776 MB / 425 MB, free: 43.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.3533, allocations: 332.5 kB / 425.3 MB, free: 43.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.3536, allocations: 128.8 kB / 425.5 MB, free: 43.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.3536, allocations: 7.391 kB / 425.5 MB, free: 43.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004687/0.3541, allocations: 187.5 kB / 425.7 MB, free: 43.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.3541, allocations: 0 / 425.7 MB, free: 43.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001555/0.3557, allocations: 0.6493 MB / 426.3 MB, free: 42.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.3557, allocations: 57.88 kB / 426.4 MB, free: 42.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.3568, allocations: 1.136 MB / 427.5 MB, free: 42.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.3569, allocations: 29.7 kB / 427.5 MB, free: 42.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.3571, allocations: 403.9 kB / 427.9 MB, free: 42.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.3572, allocations: 98.59 kB / 428 MB, free: 42.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/0.3573, allocations: 58.98 kB / 428.1 MB, free: 42.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.3574, allocations: 321.5 kB / 428.4 MB, free: 41.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.3577, allocations: 119.6 kB / 428.5 MB, free: 41.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.358, allocations: 183.3 kB / 428.7 MB, free: 41.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/0.3586, allocations: 333.5 kB / 429 MB, free: 41.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3587, allocations: 0 / 429 MB, free: 41.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009608/0.3596, allocations: 491.2 kB / 429.5 MB, free: 41.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.3597, allocations: 32.02 kB / 429.5 MB, free: 41.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3597, allocations: 9.578 kB / 429.5 MB, free: 41.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002725/0.36, allocations: 65.02 kB / 429.6 MB, free: 41.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.3602, allocations: 54.27 kB / 429.6 MB, free: 41.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.3616, allocations: 1.794 MB / 431.4 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.3619, allocations: 43.75 kB / 431.5 MB, free: 39.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.362, allocations: 14.22 kB / 431.5 MB, free: 39.57 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002886/0.3623, allocations: 293.8 kB / 431.8 MB, free: 39.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.3623, allocations: 70.5 kB / 431.8 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.3632, allocations: 436.3 kB / 432.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3632, allocations: 5.328 kB / 432.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3633, allocations: 0 / 432.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.3633, allocations: 3.875 kB / 432.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.3637, allocations: 0.575 MB / 432.9 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.3638, allocations: 4 kB / 432.9 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.364, allocations: 45.61 kB / 432.9 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/0.3642, allocations: 60.52 kB / 433 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.3642, allocations: 11.41 kB / 433 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.3655, allocations: 1.784 MB / 434.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3655, allocations: 3.938 kB / 434.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.3667, allocations: 0.5737 MB / 435.3 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.3668, allocations: 163.4 kB / 435.5 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.3669, allocations: 9.031 kB / 435.5 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3671, allocations: 27.11 kB / 435.5 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3673, allocations: 31.34 kB / 435.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3673, allocations: 11 kB / 435.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007945/0.3681, allocations: 0.8255 MB / 436.4 MB, free: 36.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.263e-06/0.3681, allocations: 0 / 436.4 MB, free: 36.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005211/0.3686, allocations: 138.5 kB / 436.5 MB, free: 36.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002268/0.3709, allocations: 0.6026 MB / 437.1 MB, free: 36.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.3719, allocations: 0.4904 MB / 437.6 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3719, allocations: 0 / 437.6 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.3724, allocations: 285.1 kB / 437.9 MB, free: 35.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.3729, allocations: 94.02 kB / 438 MB, free: 35.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.3751, allocations: 1.809 MB / 439.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.3755, allocations: 0.9885 MB / 440.8 MB, free: 34.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.3757, allocations: 80.86 kB / 440.9 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.3e-05/0.3758, allocations: 39.31 kB / 440.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3758, allocations: 0 / 440.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of Templates: time 0.0117/0.3875, allocations: 6.561 MB / 447.5 MB, free: 33.49 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1)