Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 104.9 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.001308/0.001308, 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.479/1.479, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04423/0.04423, allocations: 8.576 MB / 299.6 MB, free: 6.332 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001893, allocations: 59.91 kB / 362 MB, free: 7.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2344, allocations: 51.38 MB / 413.4 MB, free: 25.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.004417/0.2388, allocations: 3.656 MB / 417.1 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.2412, allocations: 1.699 MB / 418.8 MB, free: 19.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.2415, allocations: 19.88 kB / 418.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.242, allocations: 330.8 kB / 419.1 MB, free: 19.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004682/0.2425, allocations: 286.6 kB / 419.4 MB, free: 19.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.2433, allocations: 412.8 kB / 419.8 MB, free: 18.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00042/0.2437, allocations: 0.6164 MB / 420.4 MB, free: 18.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/0.244, allocations: 212.6 kB / 420.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.2442, allocations: 267 kB / 420.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.2445, allocations: 362.7 kB / 421.2 MB, free: 17.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.2446, allocations: 48 kB / 421.3 MB, free: 17.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.2448, allocations: 111.9 kB / 421.4 MB, free: 17.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.245, allocations: 227.2 kB / 421.6 MB, free: 17.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.2452, allocations: 357.7 kB / 422 MB, free: 16.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.2457, allocations: 0.8604 MB / 422.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2457, allocations: 0 / 422.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2458, allocations: 0 / 422.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2458, allocations: 4 kB / 422.8 MB, free: 15.92 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001375/0.2471, allocations: 1.177 MB / 424 MB, free: 14.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2472, allocations: 11.89 kB / 424 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.2473, allocations: 95.72 kB / 424.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.2479, allocations: 0.6012 MB / 424.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.2479, allocations: 37.12 kB / 424.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.248, allocations: 36 kB / 424.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.2486, allocations: 428.7 kB / 425.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.2487, allocations: 4 kB / 425.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.2487, allocations: 12 kB / 425.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2487, allocations: 8 kB / 425.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.2494, allocations: 319.7 kB / 425.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.2513, allocations: 1.726 MB / 427.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000838/0.2522, allocations: 427.9 kB / 427.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.2525, allocations: 128.8 kB / 427.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.2526, allocations: 4 kB / 427.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/0.2531, allocations: 195.4 kB / 428 MB, free: 10.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.745e-06/0.2531, allocations: 0 / 428 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001616/0.2547, allocations: 0.6487 MB / 428.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.2548, allocations: 81.11 kB / 428.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.2557, allocations: 1.165 MB / 429.9 MB, free: 8.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.2558, allocations: 33.7 kB / 429.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.256, allocations: 400.2 kB / 430.3 MB, free: 8.121 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.2561, allocations: 90.75 kB / 430.4 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-05/0.2562, allocations: 78 kB / 430.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.2562, allocations: 325.9 kB / 430.8 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.2566, allocations: 142.3 kB / 430.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.2569, allocations: 211.3 kB / 431.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.2576, allocations: 358.2 kB / 431.5 MB, free: 6.867 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2576, allocations: 0 / 431.5 MB, free: 6.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00101/0.2586, allocations: 0.5263 MB / 432 MB, free: 6.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.2587, allocations: 43.2 kB / 432.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.2587, allocations: 4.156 kB / 432.1 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/0.259, allocations: 60.81 kB / 432.1 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.2592, allocations: 75.89 kB / 432.2 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.2605, allocations: 1.799 MB / 434 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.2609, allocations: 51.66 kB / 434 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.2609, allocations: 12 kB / 434.1 MB, free: 4.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005428/0.2615, allocations: 368.8 kB / 434.4 MB, free: 3.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003033/0.2618, allocations: 199 kB / 434.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005443/0.2624, allocations: 324.8 kB / 434.9 MB, free: 3.203 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.494e-06/0.2624, allocations: 3.984 kB / 434.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008909/0.2633, allocations: 0.5181 MB / 435.5 MB, free: 2.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2633, allocations: 29.92 kB / 435.5 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2633, allocations: 11.98 kB / 435.5 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.2635, allocations: 52.83 kB / 435.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.2637, allocations: 71.89 kB / 435.6 MB, free: 2.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.2649, allocations: 1.803 MB / 437.4 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.2652, allocations: 47.66 kB / 437.5 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.2652, allocations: 16 kB / 437.5 MB, free: 0.4922 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,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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.0001526/0.2654, allocations: 199.4 kB / 437.7 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.2655, allocations: 79.12 kB / 437.8 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.2665, allocations: 433.8 kB / 438.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.2665, allocations: 3.938 kB / 438.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2665, allocations: 7.938 kB / 438.2 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2666, allocations: 4 kB / 438.2 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.2683, allocations: 1.026 MB / 439.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2683, allocations: 0 / 439.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.2686, allocations: 47.97 kB / 439.3 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.2688, allocations: 60.75 kB / 439.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.2689, allocations: 4 kB / 439.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.2706, allocations: 1.799 MB / 441.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2706, allocations: 0 / 441.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.2721, allocations: 0.6521 MB / 441.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.2723, allocations: 172.1 kB / 441.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.2723, allocations: 8 kB / 442 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.2726, allocations: 27.95 kB / 442 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.2727, allocations: 27.97 kB / 442 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.2727, allocations: 4 kB / 442 MB, free: 11.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001049/0.2738, allocations: 0.8465 MB / 442.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2738, allocations: 0 / 442.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008595/0.2747, allocations: 235.3 kB / 443.1 MB, free: 10.63 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.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 (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): 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.00225/0.2769, allocations: 0.601 MB / 443.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.2789, allocations: 0.868 MB / 444.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2789, allocations: 0 / 444.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.2794, allocations: 267.1 kB / 444.8 MB, free: 9.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/0.2801, allocations: 110.5 kB / 444.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.2828, allocations: 1.613 MB / 446.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.2836, allocations: 0.9842 MB / 447.5 MB, free: 6.332 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.2837, allocations: 39.44 kB / 447.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2837, allocations: 0 / 447.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of Templates: time 0.01824/0.3019, allocations: 11.41 MB / 459 MB, free: 10.88 MB / 334.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1)