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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 106.5 kB / 17.6 MB, free: 4.703 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.00176/0.00176, allocations: 190.7 kB / 20.78 MB, free: 1.539 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.478/1.478, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.04392/0.04392, allocations: 8.55 MB / 313 MB, free: 1.875 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002941/0.002941, allocations: 67.89 kB / 436.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3159, allocations: 54.19 MB / 490.7 MB, free: 26.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.007444/0.3234, allocations: 3.827 MB / 494.6 MB, free: 23.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004398/0.3278, allocations: 1.806 MB / 496.4 MB, free: 22.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005199/0.3283, allocations: 11.78 kB / 496.4 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007213/0.329, allocations: 205.4 kB / 496.6 MB, free: 22.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007904/0.3298, allocations: 246.1 kB / 496.8 MB, free: 22.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.331, allocations: 404.8 kB / 497.2 MB, free: 21.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008603/0.3319, allocations: 0.65 MB / 497.9 MB, free: 21.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.3322, allocations: 169.5 kB / 498 MB, free: 21.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.3326, allocations: 264.5 kB / 498.3 MB, free: 21.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005088/0.3331, allocations: 324.9 kB / 498.6 MB, free: 20.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.3333, allocations: 55.38 kB / 498.7 MB, free: 20.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.3336, allocations: 117.4 kB / 498.8 MB, free: 20.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.3338, allocations: 217.9 kB / 499 MB, free: 20.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.3342, allocations: 352.3 kB / 499.3 MB, free: 20.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.3354, allocations: 0.8676 MB / 0.4885 GB, free: 19.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3354, allocations: 5.375 kB / 0.4885 GB, free: 19.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3354, allocations: 4 kB / 0.4885 GB, free: 19.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.3354, allocations: 3.938 kB / 0.4885 GB, free: 19.92 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002304/0.3377, allocations: 1.121 MB / 0.4896 GB, free: 18.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.3377, allocations: 17.2 kB / 0.4896 GB, free: 18.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.338, allocations: 100.2 kB / 0.4897 GB, free: 18.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.339, allocations: 0.5979 MB / 0.4903 GB, free: 18.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.339, allocations: 33.44 kB / 0.4903 GB, free: 18.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.3391, allocations: 47.61 kB / 0.4904 GB, free: 18.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.3404, allocations: 445 kB / 0.4908 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.3404, allocations: 6.406 kB / 0.4908 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/0.3405, allocations: 15.47 kB / 0.4908 GB, free: 18.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.3405, allocations: 9.344 kB / 0.4908 GB, free: 18.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.3417, allocations: 331.8 kB / 0.4911 GB, free: 17.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003743/0.3455, allocations: 1.762 MB / 0.4928 GB, free: 16.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.3469, allocations: 423.5 kB / 0.4932 GB, free: 16.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/0.3474, allocations: 132.9 kB / 0.4934 GB, free: 16.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/0.3474, allocations: 7.234 kB / 0.4934 GB, free: 16.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000657/0.3481, allocations: 191.9 kB / 0.4936 GB, free: 16.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 3.526e-06/0.3481, allocations: 0 / 0.4936 GB, free: 16.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.002603/0.3507, allocations: 0.6411 MB / 0.4942 GB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3508, allocations: 80.52 kB / 0.4943 GB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.3524, allocations: 0.9355 MB / 0.4952 GB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.3524, allocations: 35.08 kB / 0.4952 GB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.3527, allocations: 354.3 kB / 0.4956 GB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/0.3528, allocations: 90.75 kB / 0.4956 GB, free: 14.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.353, allocations: 84.83 kB / 0.4957 GB, free: 14.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3531, allocations: 381.8 kB / 0.4961 GB, free: 14.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.3536, allocations: 151.5 kB / 0.4962 GB, free: 14.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/0.3542, allocations: 203.6 kB / 0.4964 GB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.3553, allocations: 376.7 kB / 0.4968 GB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3553, allocations: 0 / 0.4968 GB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00176/0.357, allocations: 0.5366 MB / 0.4973 GB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.3571, allocations: 31.95 kB / 0.4973 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3571, allocations: 1.844 kB / 0.4973 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003824/0.3575, allocations: 62.56 kB / 0.4974 GB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.358, allocations: 79.84 kB / 0.4975 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.36, allocations: 1.817 MB / 0.4992 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.3606, allocations: 51.92 kB / 0.4993 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.3606, allocations: 18.89 kB / 0.4993 GB, free: 11.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008633/0.3615, allocations: 349.9 kB / 0.4996 GB, free: 11.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005293/0.362, allocations: 202 kB / 0.4998 GB, free: 11.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001008/0.363, allocations: 341.4 kB / 0.5002 GB, free: 11.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.363, allocations: 1.281 kB / 0.5002 GB, free: 11.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001723/0.3647, allocations: 0.5101 MB / 0.5007 GB, free: 10.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.3648, allocations: 32.64 kB / 0.5007 GB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3648, allocations: 2.5 kB / 0.5007 GB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/0.3651, allocations: 61.38 kB / 0.5008 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.3655, allocations: 78.33 kB / 0.5008 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.3674, allocations: 1.816 MB / 0.5026 GB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.3679, allocations: 45.69 kB / 0.5026 GB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.3679, allocations: 9.625 kB / 0.5027 GB, free: 8.852 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,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.0001404/0.3681, allocations: 211.5 kB / 0.5029 GB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.3682, allocations: 69.89 kB / 0.5029 GB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3692, allocations: 428 kB / 0.5033 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3692, allocations: 2.75 kB / 0.5033 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3692, allocations: 5.375 kB / 0.5033 GB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3692, allocations: 0 / 0.5033 GB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.3708, allocations: 1.036 MB / 0.5044 GB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3708, allocations: 5.062 kB / 0.5044 GB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.371, allocations: 51.73 kB / 0.5044 GB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001948/0.3712, allocations: 62.59 kB / 0.5045 GB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3712, allocations: 2.688 kB / 0.5045 GB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.3725, allocations: 1.805 MB / 0.5062 GB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3725, allocations: 0 / 0.5062 GB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.3738, allocations: 0.6494 MB / 0.5069 GB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.374, allocations: 163.3 kB / 0.507 GB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.374, allocations: 10.5 kB / 0.507 GB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.3743, allocations: 21.31 kB / 0.5071 GB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.3744, allocations: 35.33 kB / 0.5071 GB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.3744, allocations: 5.531 kB / 0.5071 GB, free: 5.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000824/0.3752, allocations: 0.6644 MB / 0.5077 GB, free: 4.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3752, allocations: 0 / 0.5077 GB, free: 4.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009038/0.3761, allocations: 235.5 kB / 0.508 GB, free: 4.797 MB / 366.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.002256/0.3784, allocations: 0.6023 MB / 0.5086 GB, free: 4.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.3801, allocations: 0.8494 MB / 0.5094 GB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3801, allocations: 0 / 0.5094 GB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.3806, allocations: 281.4 kB / 0.5097 GB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007503/0.3813, allocations: 100.5 kB / 0.5097 GB, free: 3.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.3835, allocations: 1.39 MB / 0.5111 GB, free: 2.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3839, allocations: 0.948 MB / 0.512 GB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.3841, allocations: 88.31 kB / 0.5121 GB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.3842, allocations: 35.44 kB / 0.5121 GB, free: 1.371 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3842, allocations: 0 / 0.5121 GB, free: 1.371 MB / 366.1 MB Notification: Performance of Templates: time 0.01669/0.4009, allocations: 7.86 MB / 0.5198 GB, free: 9.531 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.993243302218616]