Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.001417/0.001417, allocations: 110.5 kB / 17.6 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.001523/0.001523, allocations: 186.8 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.488/1.488, allocations: 225.6 MB / 249.4 MB, free: 3.297 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.04236/0.04236, allocations: 8.545 MB / 313.1 MB, free: 1.914 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.89 kB / 436.5 MB, free: 9.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2965, allocations: 54.19 MB / 490.7 MB, free: 26.51 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005452/0.3019, allocations: 3.894 MB / 494.6 MB, free: 23.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.3052, allocations: 1.786 MB / 496.4 MB, free: 22.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003946/0.3056, allocations: 6.5 kB / 496.4 MB, free: 22.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.3061, allocations: 202.9 kB / 496.6 MB, free: 22.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006175/0.3067, allocations: 248.1 kB / 496.9 MB, free: 22.31 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009283/0.3077, allocations: 377.2 kB / 497.2 MB, free: 22.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006676/0.3083, allocations: 0.6581 MB / 497.9 MB, free: 21.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004454/0.3088, allocations: 244.8 kB / 498.1 MB, free: 21.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.3091, allocations: 275.1 kB / 498.4 MB, free: 21.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.3095, allocations: 343.6 kB / 498.7 MB, free: 21.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.379e-05/0.3096, allocations: 60.28 kB / 498.8 MB, free: 21.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.3098, allocations: 121.9 kB / 498.9 MB, free: 21.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.31, allocations: 231.4 kB / 499.1 MB, free: 20.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.3103, allocations: 364 kB / 499.5 MB, free: 20.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008552/0.3111, allocations: 0.922 MB / 0.4887 GB, free: 19.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3111, allocations: 7.938 kB / 0.4887 GB, free: 19.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3111, allocations: 0 / 0.4887 GB, free: 19.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.3112, allocations: 0 / 0.4887 GB, free: 19.98 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00163/0.3128, allocations: 1.153 MB / 0.4898 GB, free: 19.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3128, allocations: 17.33 kB / 0.4898 GB, free: 19.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.313, allocations: 97.92 kB / 0.4899 GB, free: 18.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.3137, allocations: 0.5979 MB / 0.4905 GB, free: 18.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.3137, allocations: 40.03 kB / 0.4905 GB, free: 18.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.667e-05/0.3138, allocations: 47.97 kB / 0.4906 GB, free: 18.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008624/0.3147, allocations: 490.1 kB / 0.4911 GB, free: 18.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.3147, allocations: 3.953 kB / 0.4911 GB, free: 18.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.3147, allocations: 15.53 kB / 0.4911 GB, free: 18.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3147, allocations: 16.8 kB / 0.4911 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007984/0.3155, allocations: 354.3 kB / 0.4914 GB, free: 17.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.3179, allocations: 1.862 MB / 0.4933 GB, free: 16.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/0.3186, allocations: 324.9 kB / 0.4936 GB, free: 16.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.3189, allocations: 129.1 kB / 0.4937 GB, free: 16.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.319, allocations: 10.58 kB / 0.4937 GB, free: 16.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.3194, allocations: 196.9 kB / 0.4939 GB, free: 16.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.063e-06/0.3194, allocations: 0 / 0.4939 GB, free: 16.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001698/0.3211, allocations: 0.6437 MB / 0.4945 GB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.3211, allocations: 63.66 kB / 0.4946 GB, free: 15.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.3223, allocations: 0.9202 MB / 0.4955 GB, free: 15.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3223, allocations: 32.67 kB / 0.4955 GB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.3225, allocations: 376.4 kB / 0.4959 GB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.3226, allocations: 102.5 kB / 0.496 GB, free: 14.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.3227, allocations: 83.23 kB / 0.496 GB, free: 14.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3228, allocations: 382.7 kB / 0.4964 GB, free: 14.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.3232, allocations: 136.3 kB / 0.4965 GB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.3235, allocations: 215.8 kB / 0.4967 GB, free: 14.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/0.3242, allocations: 360.9 kB / 0.4971 GB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3242, allocations: 5.094 kB / 0.4971 GB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001072/0.3253, allocations: 0.5329 MB / 0.4976 GB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.3253, allocations: 32.39 kB / 0.4976 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3253, allocations: 6.031 kB / 0.4976 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.3256, allocations: 65.62 kB / 0.4977 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.3259, allocations: 74.52 kB / 0.4978 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.3272, allocations: 1.815 MB / 0.4996 GB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.3275, allocations: 54.17 kB / 0.4996 GB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.3276, allocations: 14.88 kB / 0.4996 GB, free: 11.66 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$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 (44): * Single equations (assignments): 42 * 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.0003186/0.3279, allocations: 273.3 kB / 0.4999 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.328, allocations: 69.36 kB / 0.4999 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.329, allocations: 440.4 kB / 0.5004 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.329, allocations: 2.75 kB / 0.5004 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.329, allocations: 0 / 0.5004 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.329, allocations: 1.281 kB / 0.5004 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.3295, allocations: 0.5791 MB / 0.5009 GB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3295, allocations: 0 / 0.5009 GB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.3298, allocations: 49.69 kB / 0.501 GB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.3299, allocations: 58.91 kB / 0.501 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.33, allocations: 6.406 kB / 0.501 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.3311, allocations: 1.818 MB / 0.5028 GB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3311, allocations: 0 / 0.5028 GB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.3323, allocations: 0.5832 MB / 0.5034 GB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.3324, allocations: 162.3 kB / 0.5035 GB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.3325, allocations: 6.719 kB / 0.5035 GB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3327, allocations: 27.44 kB / 0.5036 GB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.3328, allocations: 32.86 kB / 0.5036 GB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.3328, allocations: 10.59 kB / 0.5036 GB, free: 8.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006648/0.3335, allocations: 0.6574 MB / 0.5043 GB, free: 8.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3335, allocations: 0 / 0.5043 GB, free: 8.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005363/0.334, allocations: 145.7 kB / 0.5044 GB, free: 7.984 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.002146/0.3361, allocations: 0.6072 MB / 0.505 GB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009884/0.3371, allocations: 495.2 kB / 0.5055 GB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3371, allocations: 4.062 kB / 0.5055 GB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.3376, allocations: 276.3 kB / 0.5057 GB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.3381, allocations: 99.92 kB / 0.5058 GB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3402, allocations: 1.426 MB / 0.5072 GB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3405, allocations: 0.9644 MB / 0.5082 GB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.3407, allocations: 68.05 kB / 0.5082 GB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3408, allocations: 40.17 kB / 0.5083 GB, free: 5.391 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3408, allocations: 4 kB / 0.5083 GB, free: 5.387 MB / 366.1 MB Notification: Performance of Templates: time 0.01206/0.3529, allocations: 6.994 MB / 0.5151 GB, free: 14.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.875004570931196]