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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 249.4 MB, free: 3.27 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04104/0.04104, allocations: 8.54 MB / 313 MB, free: 1.867 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-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=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 436.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3076, allocations: 54.19 MB / 490.7 MB, free: 26.14 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.005783/0.3134, allocations: 3.713 MB / 494.4 MB, free: 23.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.3161, allocations: 1.775 MB / 496.2 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003448/0.3165, allocations: 9.438 kB / 496.2 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.317, allocations: 196.2 kB / 496.4 MB, free: 22.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.3175, allocations: 234.5 kB / 496.6 MB, free: 22.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008856/0.3184, allocations: 406.3 kB / 497 MB, free: 21.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006717/0.3191, allocations: 0.6113 MB / 497.7 MB, free: 21.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.3194, allocations: 153.8 kB / 497.8 MB, free: 21.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.3197, allocations: 260.9 kB / 498.1 MB, free: 21.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.3201, allocations: 311 kB / 498.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.3202, allocations: 50.88 kB / 498.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.3204, allocations: 104.1 kB / 498.5 MB, free: 21.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.3206, allocations: 215.1 kB / 498.7 MB, free: 21.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.3208, allocations: 322.9 kB / 499 MB, free: 20.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008688/0.3217, allocations: 0.8439 MB / 499.9 MB, free: 20.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3217, allocations: 1.281 kB / 499.9 MB, free: 20.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3217, allocations: 4 kB / 499.9 MB, free: 20.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.3217, allocations: 0 / 499.9 MB, free: 20.21 MB / 366.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.001589/0.3233, allocations: 1.096 MB / 0.4892 GB, free: 19.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3233, allocations: 13.52 kB / 0.4893 GB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.3235, allocations: 94.72 kB / 0.4893 GB, free: 19.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/0.3241, allocations: 0.5793 MB / 0.4899 GB, free: 18.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.3242, allocations: 32.75 kB / 0.4899 GB, free: 18.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.3242, allocations: 40.98 kB / 0.49 GB, free: 18.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.325, allocations: 424.4 kB / 0.4904 GB, free: 18.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.325, allocations: 0 / 0.4904 GB, free: 18.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.3251, allocations: 15.59 kB / 0.4904 GB, free: 18.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.3251, allocations: 9.219 kB / 0.4904 GB, free: 18.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007485/0.3258, allocations: 307.8 kB / 0.4907 GB, free: 18.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.3281, allocations: 1.681 MB / 0.4923 GB, free: 16.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/0.3289, allocations: 326.5 kB / 0.4927 GB, free: 16.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.3292, allocations: 117.6 kB / 0.4928 GB, free: 16.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.3293, allocations: 7.406 kB / 0.4928 GB, free: 16.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004079/0.3297, allocations: 184.4 kB / 0.493 GB, free: 16.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.164e-06/0.3297, allocations: 0 / 0.493 GB, free: 16.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001352/0.331, allocations: 0.5396 MB / 0.4935 GB, free: 16.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.3311, allocations: 83.77 kB / 0.4936 GB, free: 16.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3321, allocations: 0.9207 MB / 0.4945 GB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3321, allocations: 35.8 kB / 0.4945 GB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.3323, allocations: 336.7 kB / 0.4948 GB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.3324, allocations: 89.88 kB / 0.4949 GB, free: 15.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3325, allocations: 77.06 kB / 0.495 GB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.3326, allocations: 383 kB / 0.4953 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.333, allocations: 141.3 kB / 0.4955 GB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.3333, allocations: 201 kB / 0.4957 GB, free: 14.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.334, allocations: 354.8 kB / 0.496 GB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.334, allocations: 0 / 0.496 GB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009626/0.335, allocations: 491.9 kB / 0.4965 GB, free: 14.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.335, allocations: 35.73 kB / 0.4965 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.335, allocations: 2.438 kB / 0.4965 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.3352, allocations: 24.88 kB / 0.4965 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.3355, allocations: 80.86 kB / 0.4966 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007381/0.3362, allocations: 1.373 MB / 0.498 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.3366, allocations: 56.14 kB / 0.498 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.3366, allocations: 14.25 kB / 0.498 GB, free: 12.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00054/0.3372, allocations: 338.4 kB / 0.4983 GB, free: 12.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003226/0.3375, allocations: 194.8 kB / 0.4985 GB, free: 12.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000576/0.3381, allocations: 328.5 kB / 0.4988 GB, free: 12.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.3381, allocations: 1.781 kB / 0.4988 GB, free: 12.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0008937/0.339, allocations: 469.4 kB / 0.4993 GB, free: 11.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.339, allocations: 36.28 kB / 0.4993 GB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.339, allocations: 5.094 kB / 0.4993 GB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.202e-05/0.3391, allocations: 21.27 kB / 0.4994 GB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.3393, allocations: 78.17 kB / 0.4994 GB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006052/0.3399, allocations: 1.374 MB / 0.5008 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.3402, allocations: 39.83 kB / 0.5008 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.3403, allocations: 14.25 kB / 0.5008 GB, free: 10.2 MB / 366.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.0001261/0.3404, allocations: 199.3 kB / 0.501 GB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.634e-05/0.3405, allocations: 68.91 kB / 0.5011 GB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008417/0.3413, allocations: 374.8 kB / 0.5014 GB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3413, allocations: 2.75 kB / 0.5014 GB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3413, allocations: 0 / 0.5014 GB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3413, allocations: 5.359 kB / 0.5014 GB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.3419, allocations: 0.5253 MB / 0.502 GB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3419, allocations: 0 / 0.502 GB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.3421, allocations: 57.27 kB / 0.502 GB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.292e-05/0.3422, allocations: 18.22 kB / 0.502 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3422, allocations: 10 kB / 0.502 GB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006366/0.3429, allocations: 1.373 MB / 0.5034 GB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3429, allocations: 5.375 kB / 0.5034 GB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.344, allocations: 0.5194 MB / 0.5039 GB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3441, allocations: 166 kB / 0.504 GB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.3441, allocations: 6.719 kB / 0.5041 GB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.3444, allocations: 29.7 kB / 0.5041 GB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.3445, allocations: 25.53 kB / 0.5041 GB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3445, allocations: 9.5 kB / 0.5041 GB, free: 7.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008271/0.3453, allocations: 0.6584 MB / 0.5048 GB, free: 7.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3453, allocations: 0 / 0.5048 GB, free: 7.008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007683/0.3461, allocations: 214.9 kB / 0.505 GB, free: 6.953 MB / 366.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.002311/0.3484, allocations: 0.5983 MB / 0.5055 GB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.3499, allocations: 0.7866 MB / 0.5063 GB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3499, allocations: 0 / 0.5063 GB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004456/0.3504, allocations: 251.2 kB / 0.5066 GB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.351, allocations: 105.4 kB / 0.5067 GB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.3531, allocations: 1.333 MB / 0.508 GB, free: 5.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3535, allocations: 0.9314 MB / 0.5089 GB, free: 4.242 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.3537, allocations: 87.5 kB / 0.5089 GB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.3538, allocations: 37.78 kB / 0.509 GB, free: 4.195 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3538, allocations: 3.938 kB / 0.509 GB, free: 4.191 MB / 366.1 MB Notification: Performance of Templates: time 0.01278/0.3666, allocations: 6.841 MB / 0.5157 GB, free: 13.76 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.914511916227639]