Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001353/0.001353, allocations: 113.1 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.001359/0.001359, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.466/1.466, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.0404/0.0404, allocations: 8.542 MB / 313 MB, free: 1.859 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_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.88 kB / 436.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2949, allocations: 54.2 MB / 490.7 MB, free: 25.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.005096/0.3, allocations: 3.829 MB / 494.6 MB, free: 23.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.3034, allocations: 1.807 MB / 496.4 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005213/0.3039, allocations: 11.69 kB / 496.4 MB, free: 22.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.3044, allocations: 200.3 kB / 496.6 MB, free: 21.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000606/0.305, allocations: 243.9 kB / 496.8 MB, free: 21.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009556/0.306, allocations: 419 kB / 497.2 MB, free: 21.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007322/0.3067, allocations: 0.6462 MB / 497.9 MB, free: 21.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.307, allocations: 170.8 kB / 498 MB, free: 21.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.3074, allocations: 261.6 kB / 498.3 MB, free: 21.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.3078, allocations: 324.6 kB / 498.6 MB, free: 20.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.073e-05/0.3079, allocations: 54.41 kB / 498.7 MB, free: 20.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.3082, allocations: 117.6 kB / 498.8 MB, free: 20.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.3083, allocations: 215.3 kB / 499 MB, free: 20.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.3086, allocations: 355.3 kB / 499.3 MB, free: 20.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008478/0.3094, allocations: 0.8745 MB / 0.4885 GB, free: 19.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3094, allocations: 3.984 kB / 0.4885 GB, free: 19.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3094, allocations: 0 / 0.4885 GB, free: 19.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3094, allocations: 1.156 kB / 0.4885 GB, free: 19.91 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.001731/0.3112, allocations: 1.124 MB / 0.4896 GB, free: 18.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3112, allocations: 18.34 kB / 0.4896 GB, free: 18.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.3113, allocations: 87.44 kB / 0.4897 GB, free: 18.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.312, allocations: 0.6012 MB / 0.4903 GB, free: 18.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.3121, allocations: 35.09 kB / 0.4903 GB, free: 18.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.3121, allocations: 43.31 kB / 0.4904 GB, free: 18.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008189/0.313, allocations: 444.1 kB / 0.4908 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.313, allocations: 5.188 kB / 0.4908 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.313, allocations: 17.03 kB / 0.4908 GB, free: 18.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.313, allocations: 13.05 kB / 0.4908 GB, free: 18.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/0.3138, allocations: 328.1 kB / 0.4911 GB, free: 17.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.3161, allocations: 1.762 MB / 0.4928 GB, free: 16.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008781/0.3169, allocations: 427.9 kB / 0.4933 GB, free: 16.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.3173, allocations: 128.1 kB / 0.4934 GB, free: 16.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.3173, allocations: 12.34 kB / 0.4934 GB, free: 16.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000423/0.3177, allocations: 185.3 kB / 0.4936 GB, free: 16.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.194e-06/0.3177, allocations: 0 / 0.4936 GB, free: 16.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001766/0.3195, allocations: 0.6508 MB / 0.4942 GB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3195, allocations: 81.11 kB / 0.4943 GB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3206, allocations: 0.9261 MB / 0.4952 GB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.3207, allocations: 35.58 kB / 0.4952 GB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.3209, allocations: 362.6 kB / 0.4956 GB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.778e-05/0.321, allocations: 86.09 kB / 0.4956 GB, free: 14.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.3211, allocations: 80.7 kB / 0.4957 GB, free: 14.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3213, allocations: 390.8 kB / 0.4961 GB, free: 14.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.3216, allocations: 146.8 kB / 0.4962 GB, free: 14.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.3221, allocations: 212.4 kB / 0.4964 GB, free: 14.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.3228, allocations: 371.8 kB / 0.4968 GB, free: 13.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3228, allocations: 1.469 kB / 0.4968 GB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001128/0.3239, allocations: 0.5358 MB / 0.4973 GB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.324, allocations: 32.52 kB / 0.4973 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.324, allocations: 1.344 kB / 0.4973 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.3242, allocations: 62.06 kB / 0.4974 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.3246, allocations: 80.03 kB / 0.4975 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.326, allocations: 1.816 MB / 0.4993 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.3264, allocations: 59.91 kB / 0.4993 GB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.3264, allocations: 11.34 kB / 0.4993 GB, free: 11.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005915/0.327, allocations: 346 kB / 0.4997 GB, free: 11.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003367/0.3273, allocations: 202.9 kB / 0.4998 GB, free: 11.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000612/0.3279, allocations: 341.1 kB / 0.5002 GB, free: 11.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/0.3279, allocations: 1 kB / 0.5002 GB, free: 11.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001031/0.329, allocations: 0.5103 MB / 0.5007 GB, free: 10.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.329, allocations: 35.89 kB / 0.5007 GB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.329, allocations: 3.031 kB / 0.5007 GB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.3292, allocations: 56.41 kB / 0.5008 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.3295, allocations: 73.95 kB / 0.5008 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.3307, allocations: 1.82 MB / 0.5026 GB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.331, allocations: 45.69 kB / 0.5027 GB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.3311, allocations: 13.62 kB / 0.5027 GB, free: 8.848 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.0001423/0.3312, allocations: 205 kB / 0.5029 GB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.3313, allocations: 65.83 kB / 0.5029 GB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009946/0.3323, allocations: 432.4 kB / 0.5033 GB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3323, allocations: 7.422 kB / 0.5033 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.3323, allocations: 0 / 0.5033 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3323, allocations: 1.375 kB / 0.5033 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.3339, allocations: 1.032 MB / 0.5044 GB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3339, allocations: 3.938 kB / 0.5044 GB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.3341, allocations: 57.02 kB / 0.5044 GB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/0.3343, allocations: 63 kB / 0.5045 GB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.3343, allocations: 5.375 kB / 0.5045 GB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.3355, allocations: 1.801 MB / 0.5062 GB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3355, allocations: 5.344 kB / 0.5062 GB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.3368, allocations: 0.6527 MB / 0.5069 GB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.3369, allocations: 158.2 kB / 0.507 GB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.337, allocations: 10.28 kB / 0.507 GB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.3373, allocations: 25.72 kB / 0.5071 GB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.865e-05/0.3374, allocations: 32.48 kB / 0.5071 GB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.3374, allocations: 4.562 kB / 0.5071 GB, free: 5.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007898/0.3382, allocations: 0.6679 MB / 0.5077 GB, free: 4.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3382, allocations: 1.062 kB / 0.5078 GB, free: 4.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008821/0.3391, allocations: 239.7 kB / 0.508 GB, free: 4.789 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.002193/0.3412, allocations: 0.592 MB / 0.5086 GB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.3429, allocations: 0.8459 MB / 0.5094 GB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3429, allocations: 4.125 kB / 0.5094 GB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.3433, allocations: 275.5 kB / 0.5096 GB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.344, allocations: 95.31 kB / 0.5097 GB, free: 3.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.3462, allocations: 1.4 MB / 0.5111 GB, free: 2.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.3465, allocations: 0.95 MB / 0.512 GB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.3468, allocations: 84.33 kB / 0.5121 GB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.3468, allocations: 39.44 kB / 0.5122 GB, free: 1.375 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3469, allocations: 3.938 kB / 0.5122 GB, free: 1.371 MB / 366.1 MB Notification: Performance of Templates: time 0.01569/0.3625, allocations: 7.846 MB / 0.5198 GB, free: 9.543 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.888274863362312]