Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.001318/0.001318, allocations: 113.8 kB / 17.61 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.001513/0.001513, allocations: 186 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.502/1.502, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.04125/0.04125, allocations: 8.541 MB / 313 MB, free: 1.891 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.89 kB / 436.5 MB, free: 9.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2881, allocations: 54.19 MB / 490.7 MB, free: 26.55 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005959/0.2941, allocations: 3.808 MB / 494.5 MB, free: 23.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.296, allocations: 1.093 MB / 495.6 MB, free: 23.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.2962, allocations: 7.562 kB / 495.6 MB, free: 23.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.2967, allocations: 201.8 kB / 495.8 MB, free: 23.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.2973, allocations: 228.5 kB / 496.1 MB, free: 22.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008059/0.2981, allocations: 376.3 kB / 496.4 MB, free: 22.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005997/0.2987, allocations: 0.6278 MB / 497.1 MB, free: 22.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/0.299, allocations: 197.5 kB / 497.2 MB, free: 22.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.2993, allocations: 261.7 kB / 497.5 MB, free: 22.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.2996, allocations: 313.8 kB / 497.8 MB, free: 21.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.2996, allocations: 58.66 kB / 497.9 MB, free: 21.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.2999, allocations: 111.8 kB / 498 MB, free: 21.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.3, allocations: 213.7 kB / 498.2 MB, free: 21.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.3003, allocations: 347.8 kB / 498.5 MB, free: 21.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008949/0.3012, allocations: 0.8691 MB / 499.4 MB, free: 20.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3012, allocations: 0 / 499.4 MB, free: 20.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3012, allocations: 0 / 499.4 MB, free: 20.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.3012, allocations: 1.219 kB / 499.4 MB, free: 20.82 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001719/0.3029, allocations: 1.114 MB / 0.4888 GB, free: 19.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.303, allocations: 12.86 kB / 0.4888 GB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.3031, allocations: 92.56 kB / 0.4889 GB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.3038, allocations: 0.5861 MB / 0.4895 GB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.3039, allocations: 34.16 kB / 0.4895 GB, free: 19.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.3039, allocations: 44.84 kB / 0.4895 GB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.3047, allocations: 430.5 kB / 0.4899 GB, free: 19.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.3047, allocations: 6.203 kB / 0.4899 GB, free: 19.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.3047, allocations: 19.67 kB / 0.49 GB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.3048, allocations: 9.719 kB / 0.49 GB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007117/0.3055, allocations: 312 kB / 0.4903 GB, free: 18.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.3077, allocations: 1.749 MB / 0.492 GB, free: 17.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007872/0.3085, allocations: 300.8 kB / 0.4923 GB, free: 17.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.3088, allocations: 116.7 kB / 0.4924 GB, free: 17.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.3089, allocations: 7.547 kB / 0.4924 GB, free: 17.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/0.3093, allocations: 191.1 kB / 0.4926 GB, free: 17.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.3093, allocations: 1.094 kB / 0.4926 GB, free: 17.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001571/0.3108, allocations: 0.5981 MB / 0.4931 GB, free: 16.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.3109, allocations: 70.73 kB / 0.4932 GB, free: 16.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.3119, allocations: 0.9187 MB / 0.4941 GB, free: 16.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3119, allocations: 31.05 kB / 0.4941 GB, free: 16.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.3121, allocations: 345.7 kB / 0.4945 GB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.3122, allocations: 91.06 kB / 0.4946 GB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3123, allocations: 69.75 kB / 0.4946 GB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3124, allocations: 379.1 kB / 0.495 GB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.3127, allocations: 133.7 kB / 0.4951 GB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.3131, allocations: 191.7 kB / 0.4953 GB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.3137, allocations: 345.9 kB / 0.4956 GB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3137, allocations: 0 / 0.4956 GB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009966/0.3147, allocations: 0.5264 MB / 0.4961 GB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.3147, allocations: 32.61 kB / 0.4962 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3147, allocations: 1.25 kB / 0.4962 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/0.315, allocations: 61.03 kB / 0.4962 GB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.3153, allocations: 68.83 kB / 0.4963 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.3167, allocations: 1.812 MB / 0.4981 GB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.317, allocations: 47.64 kB / 0.4981 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.317, allocations: 14.56 kB / 0.4981 GB, free: 12.79 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 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0003104/0.3173, allocations: 263.6 kB / 0.4984 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.3174, allocations: 67.98 kB / 0.4984 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008597/0.3183, allocations: 406 kB / 0.4988 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3183, allocations: 7.125 kB / 0.4988 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.3183, allocations: 0 / 0.4988 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3183, allocations: 1.469 kB / 0.4988 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.3188, allocations: 0.531 MB / 0.4994 GB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3188, allocations: 9.141 kB / 0.4994 GB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.319, allocations: 40.25 kB / 0.4994 GB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.3192, allocations: 58.69 kB / 0.4995 GB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.3192, allocations: 2.25 kB / 0.4995 GB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.3204, allocations: 1.829 MB / 0.5012 GB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3204, allocations: 0 / 0.5012 GB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3216, allocations: 0.5447 MB / 0.5018 GB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3217, allocations: 161 kB / 0.5019 GB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.3218, allocations: 3.469 kB / 0.5019 GB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.322, allocations: 25.16 kB / 0.502 GB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.3221, allocations: 31.83 kB / 0.502 GB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3221, allocations: 5.062 kB / 0.502 GB, free: 9.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007542/0.3228, allocations: 0.6575 MB / 0.5026 GB, free: 9.219 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3228, allocations: 4 kB / 0.5026 GB, free: 9.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006572/0.3235, allocations: 130.5 kB / 0.5028 GB, free: 9.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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.00225/0.3257, allocations: 0.5948 MB / 0.5033 GB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009994/0.3267, allocations: 476.5 kB / 0.5038 GB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3267, allocations: 0 / 0.5038 GB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.3272, allocations: 258.6 kB / 0.504 GB, free: 8.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.3276, allocations: 106.9 kB / 0.5042 GB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.3296, allocations: 1.347 MB / 0.5055 GB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.33, allocations: 0.9449 MB / 0.5064 GB, free: 6.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.3302, allocations: 70.31 kB / 0.5065 GB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/0.3303, allocations: 42.27 kB / 0.5065 GB, free: 6.656 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3303, allocations: 0 / 0.5065 GB, free: 6.656 MB / 366.1 MB Notification: Performance of Templates: time 0.01097/0.3412, allocations: 6.752 MB / 0.5131 GB, free: 0.8594 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.889931213110685]