Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007465/0.007465, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001499/0.001499, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2144/0.2144, allocations: 8.318 MB / 298.8 MB, free: 2.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.09 kB / 413.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3165, allocations: 51.26 MB / 464.7 MB, free: 18.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.00619/0.3228, allocations: 3.423 MB / 468.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3247, allocations: 0.9856 MB / 469.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.3251, allocations: 9.5 kB / 469.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00089/0.326, allocations: 322 kB / 469.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000732/0.3268, allocations: 259.1 kB / 469.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3279, allocations: 341.5 kB / 470.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006732/0.3285, allocations: 0.5224 MB / 470.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.329, allocations: 226.5 kB / 470.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.3293, allocations: 230.2 kB / 471 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.3298, allocations: 318.8 kB / 471.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.098e-05/0.3299, allocations: 40.66 kB / 471.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.3302, allocations: 96.19 kB / 471.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.3305, allocations: 222.5 kB / 471.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.3308, allocations: 319 kB / 472 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.3319, allocations: 0.7979 MB / 472.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3319, allocations: 0 / 472.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3319, allocations: 0 / 472.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.3319, allocations: 0 / 472.8 MB, free: 13.4 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001603/0.3335, allocations: 1.114 MB / 473.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3336, allocations: 9.25 kB / 473.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.3337, allocations: 87.02 kB / 474 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.3345, allocations: 0.5812 MB / 474.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.3345, allocations: 30.56 kB / 474.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.3346, allocations: 35.22 kB / 474.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.3353, allocations: 372 kB / 475 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.3354, allocations: 1.984 kB / 475 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.3354, allocations: 18.73 kB / 475 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.3354, allocations: 8.25 kB / 475 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.3362, allocations: 259.6 kB / 475.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.3386, allocations: 1.569 MB / 476.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007595/0.3393, allocations: 260.2 kB / 477.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.3396, allocations: 106.2 kB / 477.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.3397, allocations: 2.906 kB / 477.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.3401, allocations: 158.5 kB / 477.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.3401, allocations: 0 / 477.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001559/0.3417, allocations: 0.5698 MB / 477.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.3417, allocations: 58 kB / 478 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.343, allocations: 1.111 MB / 479.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.343, allocations: 31.8 kB / 479.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.3433, allocations: 381.8 kB / 479.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/0.3433, allocations: 67.77 kB / 479.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.3434, allocations: 48.2 kB / 479.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.3435, allocations: 320.4 kB / 479.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.3439, allocations: 102.1 kB / 480 MB, free: 8.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.3442, allocations: 153.1 kB / 480.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.3448, allocations: 290.3 kB / 480.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3448, allocations: 0 / 480.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009753/0.3458, allocations: 441.3 kB / 480.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.3458, allocations: 38.12 kB / 480.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3459, allocations: 2.281 kB / 481 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002969/0.3462, allocations: 64.78 kB / 481 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.3464, allocations: 42.53 kB / 481.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.348, allocations: 1.838 MB / 482.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.3483, allocations: 34.06 kB / 482.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.3483, allocations: 12.12 kB / 482.9 MB, free: 6.445 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 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$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 (25): * Single equations (assignments): 23 * 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.0003983/0.3487, allocations: 279.3 kB / 483.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.3488, allocations: 77.16 kB / 483.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008981/0.3497, allocations: 373.7 kB / 483.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3497, allocations: 2.125 kB / 483.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3497, allocations: 8.844 kB / 483.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3497, allocations: 0 / 483.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.3504, allocations: 0.5138 MB / 484.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3504, allocations: 3.984 kB / 484.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.3506, allocations: 42.69 kB / 484.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.3508, allocations: 58.06 kB / 484.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.3508, allocations: 6.062 kB / 484.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.3522, allocations: 1.813 MB / 486.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3522, allocations: 4.047 kB / 486.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3534, allocations: 0.5006 MB / 486.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.3536, allocations: 165.4 kB / 486.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.3536, allocations: 2.688 kB / 486.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.3538, allocations: 21.78 kB / 486.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.354, allocations: 29.8 kB / 486.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.354, allocations: 7.969 kB / 486.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001085/0.3551, allocations: 0.8111 MB / 487.6 MB, free: 2.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3551, allocations: 0 / 487.6 MB, free: 2.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006298/0.3557, allocations: 115.7 kB / 487.7 MB, free: 2.863 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: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * 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.001529/0.3572, allocations: 0.5902 MB / 488.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009933/0.3583, allocations: 444.9 kB / 488.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.3583, allocations: 0 / 488.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.3587, allocations: 240.3 kB / 489 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.3593, allocations: 86.61 kB / 489.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.3616, allocations: 1.455 MB / 490.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.3621, allocations: 0.9549 MB / 491.5 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.3623, allocations: 66.91 kB / 491.6 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-05/0.3624, allocations: 35.48 kB / 491.6 MB, free: 364 kB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3624, allocations: 0 / 491.6 MB, free: 364 kB / 350.1 MB Notification: Performance of Templates: time 0.01432/0.3767, allocations: 6.408 MB / 498 MB, free: 11.34 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)