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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002231/0.002231, allocations: 216.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.0426/0.0426, allocations: 8.548 MB / 321.7 MB, free: 10.42 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 67.88 kB / 448.1 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1095, allocations: 55.42 MB / 0.4917 GB, free: 7.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.00613/0.1156, allocations: 3.603 MB / 0.4953 GB, free: 4.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.1191, allocations: 1.924 MB / 0.4971 GB, free: 2.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.1194, allocations: 11.94 kB / 0.4972 GB, free: 2.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.1199, allocations: 206.8 kB / 0.4973 GB, free: 1.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007284/0.1206, allocations: 290.5 kB / 0.4976 GB, free: 1.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008977/0.1215, allocations: 421.6 kB / 0.498 GB, free: 1.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008144/0.1223, allocations: 0.6706 MB / 0.4987 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.1227, allocations: 164.2 kB / 0.4988 GB, free: 336 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.1231, allocations: 282.8 kB / 0.4991 GB, free: 52 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.1236, allocations: 294.6 kB / 0.4994 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.564e-05/0.1237, allocations: 56 kB / 0.4994 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.1239, allocations: 116 kB / 0.4996 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.1241, allocations: 223.2 kB / 0.4998 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.1244, allocations: 270.4 kB / 0.5 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.1256, allocations: 0.9103 MB / 0.5009 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1256, allocations: 4 kB / 0.5009 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1256, allocations: 0 / 0.5009 GB, free: 14.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.1256, allocations: 0 / 0.5009 GB, free: 14.19 MB / 382.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.00202/0.1276, allocations: 1.062 MB / 0.502 GB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1277, allocations: 8.031 kB / 0.502 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.1278, allocations: 88.38 kB / 0.502 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009258/0.1287, allocations: 0.5457 MB / 0.5026 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.1288, allocations: 37.06 kB / 0.5026 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.1289, allocations: 40 kB / 0.5027 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009548/0.1298, allocations: 478.3 kB / 0.5031 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.1298, allocations: 3.953 kB / 0.5031 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.1299, allocations: 16 kB / 0.5031 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1299, allocations: 12 kB / 0.5031 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/0.1308, allocations: 331.7 kB / 0.5035 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002652/0.1334, allocations: 1.506 MB / 0.5049 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009858/0.1344, allocations: 342.8 kB / 0.5053 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.1348, allocations: 132.8 kB / 0.5054 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.1348, allocations: 4 kB / 0.5054 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.1353, allocations: 197.2 kB / 0.5056 GB, free: 9.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.274e-06/0.1353, allocations: 0 / 0.5056 GB, free: 9.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001851/0.1372, allocations: 0.57 MB / 0.5061 GB, free: 8.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.1372, allocations: 85.19 kB / 0.5062 GB, free: 8.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.1385, allocations: 0.9377 MB / 0.5071 GB, free: 7.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.1385, allocations: 33.7 kB / 0.5072 GB, free: 7.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.1389, allocations: 368.5 kB / 0.5075 GB, free: 7.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.129e-05/0.1389, allocations: 95.22 kB / 0.5076 GB, free: 7.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.1391, allocations: 78.02 kB / 0.5077 GB, free: 7.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.1393, allocations: 390.7 kB / 0.508 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.1398, allocations: 172 kB / 0.5082 GB, free: 6.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/0.1403, allocations: 266.7 kB / 0.5085 GB, free: 6.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008274/0.1411, allocations: 366.2 kB / 0.5088 GB, free: 5.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1411, allocations: 0 / 0.5088 GB, free: 5.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001278/0.1424, allocations: 0.5646 MB / 0.5094 GB, free: 5.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.1425, allocations: 37.92 kB / 0.5094 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1425, allocations: 0 / 0.5094 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.1428, allocations: 68.75 kB / 0.5095 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.1431, allocations: 75.89 kB / 0.5095 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.1451, allocations: 1.684 MB / 0.5112 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.1454, allocations: 51.75 kB / 0.5112 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.1454, allocations: 15.94 kB / 0.5112 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006716/0.1461, allocations: 374.5 kB / 0.5116 GB, free: 2.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004622/0.1465, allocations: 262.8 kB / 0.5119 GB, free: 2.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007244/0.1473, allocations: 336.4 kB / 0.5122 GB, free: 2.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.1473, allocations: 4 kB / 0.5122 GB, free: 2.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001181/0.1485, allocations: 0.5442 MB / 0.5127 GB, free: 1.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.1485, allocations: 41.62 kB / 0.5128 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1485, allocations: 0 / 0.5128 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.1487, allocations: 56.81 kB / 0.5128 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.149, allocations: 75.89 kB / 0.5129 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.22/0.369, allocations: 1.675 MB / 0.5145 GB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.3694, allocations: 44.33 kB / 0.5146 GB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.3695, allocations: 14.12 kB / 0.5146 GB, free: 25.36 MB / 382.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.0001385/0.3696, allocations: 202 kB / 0.5148 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.3697, allocations: 67.64 kB / 0.5148 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.3707, allocations: 433 kB / 0.5152 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3707, allocations: 5.125 kB / 0.5152 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.3707, allocations: 0 / 0.5152 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3707, allocations: 3.344 kB / 0.5152 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.3722, allocations: 0.896 MB / 0.5161 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3722, allocations: 0 / 0.5161 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.3725, allocations: 51.91 kB / 0.5162 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/0.3727, allocations: 55.42 kB / 0.5162 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.3727, allocations: 14.7 kB / 0.5162 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.3739, allocations: 1.668 MB / 0.5179 GB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3739, allocations: 3 kB / 0.5179 GB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3751, allocations: 0.6475 MB / 0.5185 GB, free: 23.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.3753, allocations: 86.94 kB / 0.5186 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.3753, allocations: 12.31 kB / 0.5186 GB, free: 23.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.3756, allocations: 26.84 kB / 0.5186 GB, free: 23.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.3757, allocations: 28.09 kB / 0.5187 GB, free: 23.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3757, allocations: 6.844 kB / 0.5187 GB, free: 23.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007218/0.3764, allocations: 0.6676 MB / 0.5193 GB, free: 23.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3764, allocations: 0 / 0.5193 GB, free: 23.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008228/0.3772, allocations: 245.7 kB / 0.5195 GB, free: 23.28 MB / 382.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.002504/0.3797, allocations: 0.6468 MB / 0.5202 GB, free: 23.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.3814, allocations: 0.9014 MB / 0.5211 GB, free: 22.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3814, allocations: 0 / 0.5211 GB, free: 22.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004791/0.3819, allocations: 274.2 kB / 0.5213 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.3825, allocations: 107.8 kB / 0.5214 GB, free: 22.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.3846, allocations: 1.425 MB / 0.5228 GB, free: 21.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.385, allocations: 345.7 kB / 0.5231 GB, free: 21.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3851, allocations: 42.64 kB / 0.5232 GB, free: 21.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3851, allocations: 0 / 0.5232 GB, free: 21.86 MB / 382.1 MB Notification: Performance of Templates: time 0.01698/0.4021, allocations: 11.4 MB / 0.5343 GB, free: 18.65 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: 8.74035389116034] Failed to read output from testmodel.py, exit status != 0: 0.41012291004881263 0.421204579 0.293396498 Calling exit ...