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.001421/0.001421, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001532/0.001531, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.509/1.509, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.168/0.168, allocations: 8.241 MB / 298.3 MB, free: 2.328 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.89 kB / 360.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1255, allocations: 51.31 MB / 411.8 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.0062/0.1317, allocations: 3.505 MB / 415.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.1347, allocations: 1.607 MB / 416.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.135, allocations: 8 kB / 416.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006794/0.1357, allocations: 311.2 kB / 417.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005411/0.1363, allocations: 243.1 kB / 417.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.1372, allocations: 350.9 kB / 417.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007049/0.138, allocations: 0.5654 MB / 418.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.1383, allocations: 195 kB / 418.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.1386, allocations: 243.1 kB / 418.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/0.1391, allocations: 342.9 kB / 419.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.265e-05/0.1392, allocations: 47.94 kB / 419.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.1395, allocations: 123.9 kB / 419.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.1398, allocations: 211.4 kB / 419.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.1401, allocations: 341.8 kB / 419.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009386/0.1411, allocations: 0.8137 MB / 420.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.1411, allocations: 8 kB / 420.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1411, allocations: 0 / 420.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1411, allocations: 0 / 420.6 MB, free: 2.082 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.001841/0.143, allocations: 1.122 MB / 421.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.143, allocations: 15.89 kB / 421.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.1432, allocations: 99.8 kB / 421.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.144, allocations: 0.5819 MB / 422.4 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.144, allocations: 24.59 kB / 422.5 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.1441, allocations: 39.91 kB / 422.5 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2097/0.3538, allocations: 389.8 kB / 422.9 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/0.3539, allocations: 6.547 kB / 422.9 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/0.354, allocations: 14.19 kB / 422.9 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.354, allocations: 8.094 kB / 422.9 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.3552, allocations: 286.8 kB / 423.2 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.3586, allocations: 1.592 MB / 424.8 MB, free: 43.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.3598, allocations: 312.6 kB / 425.1 MB, free: 43.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004179/0.3603, allocations: 114.1 kB / 425.2 MB, free: 43.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.3603, allocations: 2.844 kB / 425.2 MB, free: 43.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000634/0.361, allocations: 180.6 kB / 425.4 MB, free: 43.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 3.747e-06/0.361, allocations: 0.6094 kB / 425.4 MB, free: 43.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001327/0.3623, allocations: 0.529 MB / 425.9 MB, free: 43.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.3624, allocations: 131.8 kB / 426 MB, free: 43.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.3644, allocations: 1.136 MB / 427.2 MB, free: 43.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.3645, allocations: 37.81 kB / 427.2 MB, free: 43.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.3648, allocations: 381.8 kB / 427.6 MB, free: 42.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.3649, allocations: 83 kB / 427.7 MB, free: 42.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.365, allocations: 55.23 kB / 427.7 MB, free: 42.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.861e-05/0.3651, allocations: 316.5 kB / 428 MB, free: 42.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.3655, allocations: 119.3 kB / 428.1 MB, free: 42.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.366, allocations: 197.4 kB / 428.3 MB, free: 42.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/0.3668, allocations: 315.9 kB / 428.6 MB, free: 42.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3669, allocations: 4 kB / 428.7 MB, free: 42.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001313/0.3682, allocations: 436.5 kB / 429.1 MB, free: 41.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.3682, allocations: 43.42 kB / 429.1 MB, free: 41.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3683, allocations: 0 / 429.1 MB, free: 41.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.3685, allocations: 27.16 kB / 429.1 MB, free: 41.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.3688, allocations: 64.47 kB / 429.2 MB, free: 41.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009837/0.3698, allocations: 1.365 MB / 430.6 MB, free: 40.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.3703, allocations: 53.17 kB / 430.6 MB, free: 40.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.3704, allocations: 17.5 kB / 430.6 MB, free: 40.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006694/0.3711, allocations: 340.6 kB / 431 MB, free: 40.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004136/0.3715, allocations: 184.2 kB / 431.2 MB, free: 40.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008265/0.3723, allocations: 286.9 kB / 431.4 MB, free: 39.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.3724, allocations: 2.875 kB / 431.4 MB, free: 39.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0013/0.3737, allocations: 418.7 kB / 431.8 MB, free: 39.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.3737, allocations: 36.48 kB / 431.9 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3737, allocations: 3.219 kB / 431.9 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/0.3739, allocations: 22.3 kB / 431.9 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.3742, allocations: 65.88 kB / 432 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009122/0.3751, allocations: 1.368 MB / 433.3 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.3756, allocations: 38.59 kB / 433.4 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.3757, allocations: 13.12 kB / 433.4 MB, free: 38.31 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.0001669/0.3759, allocations: 203.4 kB / 433.6 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.376, allocations: 71.03 kB / 433.7 MB, free: 38.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.3773, allocations: 372.2 kB / 434 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3773, allocations: 3.156 kB / 434 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3773, allocations: 4 kB / 434 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3773, allocations: 1.078 kB / 434 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.3781, allocations: 0.5373 MB / 434.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3781, allocations: 0 / 434.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.3785, allocations: 48.94 kB / 434.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.3786, allocations: 17.14 kB / 434.6 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.3786, allocations: 10.89 kB / 434.6 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008527/0.3795, allocations: 1.373 MB / 436 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3795, allocations: 0.625 kB / 436 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.3811, allocations: 0.5135 MB / 436.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.3814, allocations: 162.1 kB / 436.7 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.3815, allocations: 4 kB / 436.7 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.3819, allocations: 26.62 kB / 436.7 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.382, allocations: 23.44 kB / 436.7 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3821, allocations: 7.125 kB / 436.7 MB, free: 35.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001236/0.3833, allocations: 0.8376 MB / 437.6 MB, free: 35.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.3833, allocations: 0 / 437.6 MB, free: 35.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001001/0.3843, allocations: 213.9 kB / 437.8 MB, free: 35.46 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.003043/0.3874, allocations: 0.6481 MB / 438.4 MB, free: 35.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.3892, allocations: 0.7561 MB / 439.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3893, allocations: 3.312 kB / 439.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.3899, allocations: 249.3 kB / 439.4 MB, free: 34.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.3907, allocations: 104.1 kB / 439.5 MB, free: 34.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.3937, allocations: 1.704 MB / 441.3 MB, free: 33.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.3942, allocations: 0.9572 MB / 442.2 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00034/0.3946, allocations: 88.77 kB / 442.3 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.3947, allocations: 32.22 kB / 442.3 MB, free: 32.94 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3947, allocations: 0 / 442.3 MB, free: 32.94 MB / 350.1 MB Notification: Performance of Templates: time 0.01712/0.4119, allocations: 6.908 MB / 449.2 MB, free: 32.38 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)