Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.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.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001955/0.001954, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002096/0.002096, allocations: 189.6 kB / 16.25 MB, free: 6.152 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1537/0.1537, allocations: 8.925 MB / 299 MB, free: 2.074 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 68.08 kB / 361.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1215, allocations: 51.48 MB / 412.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.006485/0.1281, allocations: 3.68 MB / 416.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.1313, allocations: 1.666 MB / 418.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.1316, allocations: 8 kB / 418.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006472/0.1323, allocations: 315.1 kB / 418.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.1329, allocations: 263 kB / 418.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008747/0.1338, allocations: 363.3 kB / 419.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008804/0.1346, allocations: 0.6471 MB / 419.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.1352, allocations: 238.8 kB / 420 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004729/0.1356, allocations: 267 kB / 420.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/0.1362, allocations: 366.7 kB / 420.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.607e-05/0.1363, allocations: 52 kB / 420.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.1367, allocations: 119.9 kB / 420.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.137, allocations: 303 kB / 421 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000481/0.1375, allocations: 449.1 kB / 421.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.1388, allocations: 1.094 MB / 422.6 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1388, allocations: 0 / 422.6 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1388, allocations: 0 / 422.6 MB, free: 100 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.1388, allocations: 4 kB / 422.6 MB, free: 96 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.2206/0.3594, allocations: 1.378 MB / 423.9 MB, free: 43.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3594, allocations: 15.17 kB / 424 MB, free: 43.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.3596, allocations: 112.2 kB / 424.1 MB, free: 43.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/0.3604, allocations: 0.8255 MB / 424.9 MB, free: 42.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.3605, allocations: 30.03 kB / 424.9 MB, free: 42.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.3605, allocations: 36.84 kB / 425 MB, free: 42.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.3613, allocations: 415.2 kB / 425.4 MB, free: 42.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.3613, allocations: 4.156 kB / 425.4 MB, free: 42.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.3614, allocations: 17.62 kB / 425.4 MB, free: 42.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.3614, allocations: 7.812 kB / 425.4 MB, free: 42.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007168/0.3621, allocations: 313.8 kB / 425.7 MB, free: 42.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.3643, allocations: 1.929 MB / 427.6 MB, free: 42.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.3651, allocations: 334.7 kB / 428 MB, free: 42.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.3654, allocations: 125.7 kB / 428.1 MB, free: 42.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.3655, allocations: 8.281 kB / 428.1 MB, free: 42.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.3659, allocations: 189.6 kB / 428.3 MB, free: 41.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.3659, allocations: 0 / 428.3 MB, free: 41.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001282/0.3672, allocations: 0.5627 MB / 428.8 MB, free: 41.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.3673, allocations: 80.23 kB / 428.9 MB, free: 41.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.3688, allocations: 1.648 MB / 430.6 MB, free: 41.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.3688, allocations: 32.36 kB / 430.6 MB, free: 41.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.3691, allocations: 476.1 kB / 431.1 MB, free: 40.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.3692, allocations: 82.77 kB / 431.1 MB, free: 40.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.3693, allocations: 73.72 kB / 431.2 MB, free: 40.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.3694, allocations: 322.9 kB / 431.5 MB, free: 40.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.3697, allocations: 142.9 kB / 431.7 MB, free: 40.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.3701, allocations: 209.6 kB / 431.9 MB, free: 40.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.3707, allocations: 348.5 kB / 432.2 MB, free: 39.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3707, allocations: 0 / 432.2 MB, free: 39.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009135/0.3716, allocations: 0.5094 MB / 432.7 MB, free: 39.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.3717, allocations: 44.38 kB / 432.8 MB, free: 39.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3717, allocations: 0.5 kB / 432.8 MB, free: 39.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.3719, allocations: 24.48 kB / 432.8 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.3722, allocations: 81.44 kB / 432.9 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007127/0.3729, allocations: 1.376 MB / 434.2 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.3732, allocations: 47.69 kB / 434.3 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.3732, allocations: 15.2 kB / 434.3 MB, free: 38.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005289/0.3738, allocations: 455.1 kB / 434.8 MB, free: 37.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000304/0.3741, allocations: 189.8 kB / 434.9 MB, free: 37.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005293/0.3746, allocations: 335.2 kB / 435.3 MB, free: 37.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.3746, allocations: 3.375 kB / 435.3 MB, free: 37.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0007879/0.3754, allocations: 0.4908 MB / 435.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3755, allocations: 32.27 kB / 435.8 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-06/0.3755, allocations: 0 / 435.8 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.668e-05/0.3756, allocations: 25.34 kB / 435.8 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.3758, allocations: 77.39 kB / 435.9 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005713/0.3764, allocations: 1.369 MB / 437.3 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.3767, allocations: 47.81 kB / 437.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.3767, allocations: 16.88 kB / 437.3 MB, free: 35.98 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 (42): * Single equations (assignments): 40 * 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.0001099/0.3768, allocations: 197.3 kB / 437.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.3769, allocations: 92.16 kB / 437.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000888/0.3778, allocations: 425.4 kB / 438 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3779, allocations: 3.312 kB / 438 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.3779, allocations: 0 / 438 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3779, allocations: 0 / 438 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.3784, allocations: 0.677 MB / 438.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3784, allocations: 0 / 438.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.3787, allocations: 65.77 kB / 438.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.875e-05/0.3788, allocations: 21.45 kB / 438.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3788, allocations: 5.688 kB / 438.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005764/0.3794, allocations: 1.366 MB / 440.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3794, allocations: 0 / 440.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3804, allocations: 0.547 MB / 440.7 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.3806, allocations: 215.5 kB / 440.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.173e-05/0.3807, allocations: 10.53 kB / 440.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.381, allocations: 34.89 kB / 441 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.3811, allocations: 23.56 kB / 441 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3811, allocations: 10.47 kB / 441 MB, free: 33.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001062/0.3821, allocations: 1.183 MB / 442.2 MB, free: 32.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3821, allocations: 0 / 442.2 MB, free: 32.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006307/0.3828, allocations: 259.8 kB / 442.4 MB, free: 32.89 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 (23): * Single equations (assignments): 20 * 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.002209/0.385, allocations: 0.5983 MB / 443 MB, free: 32.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.3865, allocations: 0.8216 MB / 443.9 MB, free: 32.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3865, allocations: 0 / 443.9 MB, free: 32.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.3869, allocations: 263.3 kB / 444.1 MB, free: 32.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.3875, allocations: 119.4 kB / 444.2 MB, free: 32.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.3899, allocations: 2.206 MB / 446.4 MB, free: 30.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.3904, allocations: 1.08 MB / 447.5 MB, free: 30.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.3907, allocations: 125 kB / 447.6 MB, free: 30.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3908, allocations: 53.98 kB / 447.7 MB, free: 30.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3908, allocations: 0 / 447.7 MB, free: 30.05 MB / 350.1 MB Notification: Performance of Templates: time 0.01449/0.4053, allocations: 8.457 MB / 456.1 MB, free: 29.41 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1)