Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008242/0.0008246, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004732/0.004732, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1503/0.1503, allocations: 7.677 MB / 299.1 MB, free: 3.426 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005261/0.0005262, allocations: 8.281 kB / 362 MB, free: 14.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1516, allocations: 52.16 MB / 414.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceT01): time 0.006982/0.1586, allocations: 3.143 MB / 417.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.1633, allocations: 1.596 MB / 418.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.1637, allocations: 7.938 kB / 418.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008851/0.1646, allocations: 311.2 kB / 419.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/0.1654, allocations: 243.2 kB / 419.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1668, allocations: 362.8 kB / 419.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.1679, allocations: 0.5225 MB / 420.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004896/0.1684, allocations: 171 kB / 420.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.1689, allocations: 203.1 kB / 420.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007548/0.1696, allocations: 302.8 kB / 421 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.477e-05/0.1698, allocations: 19.94 kB / 421 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.1701, allocations: 87.91 kB / 421.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.1705, allocations: 195.3 kB / 421.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005122/0.171, allocations: 323.5 kB / 421.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.1724, allocations: 0.7706 MB / 422.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1725, allocations: 0 / 422.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1725, allocations: 0 / 422.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.1725, allocations: 0 / 422.4 MB, free: 1.867 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002667/0.1752, allocations: 1.017 MB / 423.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1752, allocations: 12.03 kB / 423.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.1755, allocations: 91.81 kB / 423.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.1769, allocations: 0.5819 MB / 424.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.177, allocations: 24.59 kB / 424.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.1771, allocations: 39.91 kB / 424.1 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1878/0.3649, allocations: 410.6 kB / 424.5 MB, free: 42.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.365, allocations: 1.609 kB / 424.5 MB, free: 42.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.365, allocations: 15 kB / 424.5 MB, free: 42.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.365, allocations: 8.891 kB / 424.6 MB, free: 42.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.3659, allocations: 320.7 kB / 424.9 MB, free: 42.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.3684, allocations: 1.619 MB / 426.5 MB, free: 41.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008809/0.3693, allocations: 351.6 kB / 426.8 MB, free: 41.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.3696, allocations: 136.7 kB / 427 MB, free: 41.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.3697, allocations: 3.156 kB / 427 MB, free: 41.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.3702, allocations: 192.4 kB / 427.2 MB, free: 41.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.455e-06/0.3702, allocations: 0 / 427.2 MB, free: 41.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001373/0.3716, allocations: 0.5722 MB / 427.7 MB, free: 41.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.3716, allocations: 131.8 kB / 427.9 MB, free: 41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.3727, allocations: 1.15 MB / 429 MB, free: 40.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.3728, allocations: 32.23 kB / 429 MB, free: 40.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.373, allocations: 378.9 kB / 429.4 MB, free: 40.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.3731, allocations: 78.58 kB / 429.5 MB, free: 40.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.3731, allocations: 33.97 kB / 429.5 MB, free: 40.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.662e-05/0.3732, allocations: 318 kB / 429.8 MB, free: 40.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.3735, allocations: 128.4 kB / 430 MB, free: 40.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.3739, allocations: 211.3 kB / 430.2 MB, free: 40.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.3746, allocations: 352 kB / 430.5 MB, free: 40.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3746, allocations: 0 / 430.5 MB, free: 40.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000899/0.3755, allocations: 471.2 kB / 431 MB, free: 39.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.3756, allocations: 171 kB / 431.1 MB, free: 39.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3756, allocations: 3.312 kB / 431.1 MB, free: 39.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.3757, allocations: 23.05 kB / 431.2 MB, free: 39.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.376, allocations: 72.75 kB / 431.2 MB, free: 39.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006887/0.3767, allocations: 1.275 MB / 432.5 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.377, allocations: 52 kB / 432.6 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.3771, allocations: 20.55 kB / 432.6 MB, free: 38.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-06/0.3771, allocations: 3.062 kB / 432.6 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007547/0.3778, allocations: 356.9 kB / 432.9 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3779, allocations: 4.031 kB / 432.9 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.508e-05/0.3779, allocations: 20.48 kB / 432.9 MB, free: 38.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.3782, allocations: 63.8 kB / 433 MB, free: 38.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005433/0.3787, allocations: 1.281 MB / 434.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.379, allocations: 51.77 kB / 434.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.379, allocations: 16.56 kB / 434.4 MB, free: 37.15 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.0002786/0.3793, allocations: 357.9 kB / 434.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.3794, allocations: 69.06 kB / 434.8 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008676/0.3803, allocations: 411.5 kB / 435.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3803, allocations: 7.547 kB / 435.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.3803, allocations: 1.531 kB / 435.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3803, allocations: 3.469 kB / 435.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.3808, allocations: 0.5324 MB / 435.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3808, allocations: 0 / 435.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.3811, allocations: 69.77 kB / 435.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.975e-05/0.3812, allocations: 14.17 kB / 435.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3812, allocations: 11.48 kB / 435.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005886/0.3818, allocations: 1.272 MB / 437.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3818, allocations: 0 / 437.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.383, allocations: 0.5498 MB / 437.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.3831, allocations: 169.1 kB / 437.8 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.3832, allocations: 8.188 kB / 437.8 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.3834, allocations: 36.48 kB / 437.8 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.3835, allocations: 27.73 kB / 437.9 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3835, allocations: 11.42 kB / 437.9 MB, free: 35.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007823/0.3843, allocations: 0.8341 MB / 438.7 MB, free: 34.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3843, allocations: 4 kB / 438.7 MB, free: 34.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006017/0.3849, allocations: 213.4 kB / 438.9 MB, free: 34.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.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): 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.002383/0.3873, allocations: 0.6472 MB / 439.6 MB, free: 34.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.3888, allocations: 0.7954 MB / 440.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3888, allocations: 0 / 440.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.3892, allocations: 269.7 kB / 440.6 MB, free: 33.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.3898, allocations: 93.58 kB / 440.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.3917, allocations: 1.782 MB / 442.5 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3921, allocations: 0.9539 MB / 443.5 MB, free: 32.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.3923, allocations: 85.61 kB / 443.5 MB, free: 32.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.907e-05/0.3924, allocations: 36.38 kB / 443.6 MB, free: 32.24 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3924, allocations: 0 / 443.6 MB, free: 32.24 MB / 350.1 MB Notification: Performance of Templates: time 0.01133/0.4038, allocations: 6.547 MB / 450.1 MB, free: 31.71 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe 2>&1)