Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001592/0.001592, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001674/0.001674, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0424/0.0424, allocations: 8.581 MB / 299.6 MB, free: 6.352 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 67.88 kB / 362 MB, free: 7.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2293, allocations: 51.38 MB / 413.4 MB, free: 25.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004246/0.2336, allocations: 3.725 MB / 417.1 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.2355, allocations: 1.691 MB / 418.8 MB, free: 19.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.2358, allocations: 8 kB / 418.8 MB, free: 19.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.2362, allocations: 334.7 kB / 419.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004379/0.2367, allocations: 290.6 kB / 419.4 MB, free: 19.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.2373, allocations: 370.4 kB / 419.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.2378, allocations: 0.6203 MB / 420.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.2381, allocations: 301.3 kB / 420.7 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.2384, allocations: 275 kB / 421 MB, free: 17.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.2387, allocations: 382.6 kB / 421.4 MB, free: 17.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.2388, allocations: 52 kB / 421.4 MB, free: 17.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.239, allocations: 116 kB / 421.5 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.2391, allocations: 247.2 kB / 421.8 MB, free: 16.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.2393, allocations: 377.6 kB / 422.1 MB, free: 16.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.2399, allocations: 0.8953 MB / 423 MB, free: 15.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2399, allocations: 0 / 423 MB, free: 15.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2399, allocations: 0 / 423 MB, free: 15.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.24, allocations: 0 / 423 MB, free: 15.72 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001378/0.2413, allocations: 1.208 MB / 424.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2414, allocations: 11.89 kB / 424.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.2415, allocations: 103.7 kB / 424.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.2421, allocations: 0.6012 MB / 425 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.2421, allocations: 48.88 kB / 425 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.2422, allocations: 52 kB / 425.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007485/0.2429, allocations: 451.8 kB / 425.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.243, allocations: 8 kB / 425.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.243, allocations: 16 kB / 425.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.243, allocations: 8 kB / 425.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/0.2438, allocations: 335.7 kB / 425.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.2458, allocations: 1.82 MB / 427.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.2465, allocations: 342.7 kB / 428 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.2468, allocations: 132.8 kB / 428.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.2468, allocations: 4 kB / 428.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004803/0.2473, allocations: 187.3 kB / 428.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.704e-06/0.2473, allocations: 0 / 428.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.001502/0.2488, allocations: 0.6467 MB / 429 MB, free: 9.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.2489, allocations: 63.39 kB / 429 MB, free: 9.453 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.2498, allocations: 1.165 MB / 430.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2498, allocations: 33.7 kB / 430.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.25, allocations: 400 kB / 430.6 MB, free: 7.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.2501, allocations: 106.6 kB / 430.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.2502, allocations: 82.03 kB / 430.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.2503, allocations: 325.9 kB / 431.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.2506, allocations: 128.8 kB / 431.3 MB, free: 7.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.2509, allocations: 203.1 kB / 431.5 MB, free: 6.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006192/0.2516, allocations: 352.3 kB / 431.8 MB, free: 6.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2516, allocations: 0 / 431.8 MB, free: 6.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000942/0.2525, allocations: 0.5338 MB / 432.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.2526, allocations: 35.33 kB / 432.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2526, allocations: 8 kB / 432.4 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.2528, allocations: 56.81 kB / 432.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.2531, allocations: 75.83 kB / 432.5 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.2543, allocations: 1.807 MB / 434.3 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.2546, allocations: 43.58 kB / 434.4 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2546, allocations: 19.98 kB / 434.4 MB, free: 3.871 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: 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 (44): * Single equations (assignments): 42 * 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.000267/0.2549, allocations: 298.1 kB / 434.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.255, allocations: 75.06 kB / 434.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008476/0.2558, allocations: 443.2 kB / 435.2 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2558, allocations: 4 kB / 435.2 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2559, allocations: 0 / 435.2 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2559, allocations: 3.984 kB / 435.2 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.2563, allocations: 0.5791 MB / 435.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2563, allocations: 4 kB / 435.8 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.2565, allocations: 55.84 kB / 435.8 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.2567, allocations: 52.81 kB / 435.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.2567, allocations: 11.98 kB / 435.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.2578, allocations: 1.799 MB / 437.7 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2579, allocations: 3.984 kB / 437.7 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.2591, allocations: 0.5721 MB / 438.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.2593, allocations: 168.1 kB / 438.4 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.2594, allocations: 8 kB / 438.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.2596, allocations: 19.97 kB / 438.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/0.2597, allocations: 39.97 kB / 438.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.2597, allocations: 7.984 kB / 438.5 MB, free: 15.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.2608, allocations: 0.8426 MB / 439.3 MB, free: 14.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2608, allocations: 0 / 439.3 MB, free: 14.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000547/0.2613, allocations: 147.5 kB / 439.5 MB, free: 14.51 MB / 318.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 (25): * Single equations (assignments): 22 * 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.002251/0.2636, allocations: 0.6127 MB / 440.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.2648, allocations: 0.5095 MB / 440.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2648, allocations: 0 / 440.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005557/0.2654, allocations: 286.9 kB / 440.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.2659, allocations: 87.25 kB / 441 MB, free: 13.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.2687, allocations: 1.647 MB / 442.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007053/0.2694, allocations: 0.9841 MB / 443.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.2695, allocations: 51.36 kB / 443.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of SimCode: time 2.394e-06/0.2696, allocations: 0 / 443.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of Templates: time 0.0182/0.2878, allocations: 11.67 MB / 455.3 MB, free: 14.84 MB / 334.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1)