Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04072/0.04072, allocations: 8.539 MB / 313.6 MB, free: 1.922 MB / 238.1 MB [Timeout remaining time 90] 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 71.86 kB / 436.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2458, allocations: 54.19 MB / 491.1 MB, free: 25.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.00497/0.2507, allocations: 3.671 MB / 494.8 MB, free: 23.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.2537, allocations: 1.762 MB / 496.6 MB, free: 22.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.2541, allocations: 6.969 kB / 496.6 MB, free: 22.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.2546, allocations: 191.4 kB / 496.8 MB, free: 22.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005932/0.2552, allocations: 238.6 kB / 497 MB, free: 21.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009108/0.2561, allocations: 401 kB / 497.4 MB, free: 21.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006754/0.2568, allocations: 0.6192 MB / 498 MB, free: 21.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.2571, allocations: 155.9 kB / 498.2 MB, free: 21.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.2574, allocations: 248.9 kB / 498.4 MB, free: 21.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.2578, allocations: 316.5 kB / 498.7 MB, free: 21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.681e-05/0.2579, allocations: 53.91 kB / 498.8 MB, free: 21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.2582, allocations: 134.5 kB / 498.9 MB, free: 20.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.2584, allocations: 213.6 kB / 499.1 MB, free: 20.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.2587, allocations: 334.5 kB / 499.4 MB, free: 20.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.2597, allocations: 0.8779 MB / 0.4886 GB, free: 20.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2597, allocations: 0 / 0.4886 GB, free: 20.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2597, allocations: 3.938 kB / 0.4886 GB, free: 20.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.2597, allocations: 0 / 0.4886 GB, free: 20.15 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.00165/0.2613, allocations: 1.098 MB / 0.4897 GB, free: 19.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2614, allocations: 12.64 kB / 0.4897 GB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.2615, allocations: 87.12 kB / 0.4897 GB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.2622, allocations: 0.5958 MB / 0.4903 GB, free: 18.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.2623, allocations: 32.91 kB / 0.4904 GB, free: 18.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.2623, allocations: 39.86 kB / 0.4904 GB, free: 18.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007528/0.2631, allocations: 430.6 kB / 0.4908 GB, free: 18.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.2631, allocations: 1.156 kB / 0.4908 GB, free: 18.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/0.2632, allocations: 15.56 kB / 0.4908 GB, free: 18.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.2632, allocations: 8.594 kB / 0.4908 GB, free: 18.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007375/0.2639, allocations: 307.6 kB / 0.4911 GB, free: 18.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.2661, allocations: 1.7 MB / 0.4928 GB, free: 16.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/0.2669, allocations: 312.8 kB / 0.4931 GB, free: 16.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.2672, allocations: 111.8 kB / 0.4932 GB, free: 16.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.2673, allocations: 7.438 kB / 0.4932 GB, free: 16.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004092/0.2677, allocations: 185.2 kB / 0.4934 GB, free: 16.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.124e-06/0.2677, allocations: 3.938 kB / 0.4934 GB, free: 16.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001376/0.2691, allocations: 0.5371 MB / 0.4939 GB, free: 16.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.2691, allocations: 136.3 kB / 0.494 GB, free: 16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.2702, allocations: 0.9321 MB / 0.4949 GB, free: 15.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.2703, allocations: 36.23 kB / 0.495 GB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.2705, allocations: 348.8 kB / 0.4953 GB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.2705, allocations: 80.92 kB / 0.4954 GB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.2706, allocations: 75.38 kB / 0.4955 GB, free: 15.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2707, allocations: 383.5 kB / 0.4958 GB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.2711, allocations: 150.2 kB / 0.496 GB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.2715, allocations: 217.4 kB / 0.4962 GB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.2722, allocations: 351.2 kB / 0.4965 GB, free: 14.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2722, allocations: 3.984 kB / 0.4965 GB, free: 14.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001044/0.2732, allocations: 494.4 kB / 0.497 GB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.2732, allocations: 31.39 kB / 0.497 GB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2732, allocations: 6.031 kB / 0.497 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.2734, allocations: 29.16 kB / 0.4971 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.2737, allocations: 81.98 kB / 0.4971 GB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007111/0.2744, allocations: 1.374 MB / 0.4985 GB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.2748, allocations: 48.19 kB / 0.4985 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.2748, allocations: 14.31 kB / 0.4985 GB, free: 12.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005611/0.2754, allocations: 343.6 kB / 0.4989 GB, free: 12.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003519/0.2758, allocations: 210.6 kB / 0.4991 GB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000583/0.2763, allocations: 329.1 kB / 0.4994 GB, free: 11.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.2763, allocations: 1.125 kB / 0.4994 GB, free: 11.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009239/0.2773, allocations: 484.9 kB / 0.4998 GB, free: 11.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2773, allocations: 32.11 kB / 0.4999 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2773, allocations: 2.094 kB / 0.4999 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.511e-05/0.2774, allocations: 28.09 kB / 0.4999 GB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.2777, allocations: 75.73 kB / 0.5 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006388/0.2783, allocations: 1.367 MB / 0.5013 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.2787, allocations: 48.75 kB / 0.5014 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.2787, allocations: 18.14 kB / 0.5014 GB, free: 9.992 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.0001462/0.2788, allocations: 205.5 kB / 0.5016 GB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.2789, allocations: 71.97 kB / 0.5016 GB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009037/0.2798, allocations: 363.7 kB / 0.502 GB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2798, allocations: 2.594 kB / 0.502 GB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2798, allocations: 5.125 kB / 0.502 GB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2798, allocations: 0 / 0.502 GB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.2804, allocations: 0.5422 MB / 0.5025 GB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2804, allocations: 1.938 kB / 0.5025 GB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.2806, allocations: 51.8 kB / 0.5026 GB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-05/0.2807, allocations: 23.38 kB / 0.5026 GB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.2807, allocations: 5.781 kB / 0.5026 GB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006303/0.2814, allocations: 1.367 MB / 0.5039 GB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2814, allocations: 5.531 kB / 0.5039 GB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.2825, allocations: 0.5198 MB / 0.5044 GB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.2827, allocations: 158.9 kB / 0.5046 GB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.2828, allocations: 6.844 kB / 0.5046 GB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.283, allocations: 33.64 kB / 0.5046 GB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.2831, allocations: 26.95 kB / 0.5047 GB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.2831, allocations: 8.125 kB / 0.5047 GB, free: 7.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007832/0.2839, allocations: 0.6659 MB / 0.5053 GB, free: 6.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2839, allocations: 4 kB / 0.5053 GB, free: 6.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007499/0.2846, allocations: 232.5 kB / 0.5055 GB, free: 6.719 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * 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.00234/0.287, allocations: 0.6408 MB / 0.5062 GB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.2886, allocations: 0.7949 MB / 0.5069 GB, free: 5.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2886, allocations: 0 / 0.5069 GB, free: 5.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.2891, allocations: 249.2 kB / 0.5072 GB, free: 5.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.2896, allocations: 100.8 kB / 0.5073 GB, free: 5.629 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.2918, allocations: 1.365 MB / 0.5086 GB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.2922, allocations: 0.9409 MB / 0.5095 GB, free: 3.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.2923, allocations: 41.52 kB / 0.5096 GB, free: 3.938 MB / 366.1 MB Notification: Performance of SimCode: time 9.91e-07/0.2924, allocations: 0 / 0.5096 GB, free: 3.938 MB / 366.1 MB Notification: Performance of Templates: time 0.01459/0.3069, allocations: 10.95 MB / 0.5203 GB, free: 9.539 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480]