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.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.001258/0.001258, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00132/0.00132, allocations: 199.1 kB / 22.17 MB, free: 5.211 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.423/1.423, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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.04392/0.04392, allocations: 8.545 MB / 314.7 MB, free: 296 kB / 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_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: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 438.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09282/0.0948, allocations: 54.2 MB / 492.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.005956/0.1008, allocations: 3.82 MB / 496.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.1039, allocations: 1.831 MB / 498.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.1041, allocations: 11.94 kB / 498.5 MB, free: 496 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.1046, allocations: 194.9 kB / 498.7 MB, free: 300 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005598/0.1051, allocations: 246.7 kB / 499 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008798/0.106, allocations: 407 kB / 499.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007768/0.1068, allocations: 0.6549 MB / 0.4883 GB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.1071, allocations: 167.8 kB / 0.4884 GB, free: 14.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.1075, allocations: 270.9 kB / 0.4887 GB, free: 14.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000488/0.108, allocations: 326.6 kB / 0.489 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.108, allocations: 56 kB / 0.4891 GB, free: 14.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.1083, allocations: 112 kB / 0.4892 GB, free: 14.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.1085, allocations: 219.3 kB / 0.4894 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.1088, allocations: 346 kB / 0.4897 GB, free: 13.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.1099, allocations: 0.8792 MB / 0.4906 GB, free: 12.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1099, allocations: 7.938 kB / 0.4906 GB, free: 12.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1099, allocations: 0 / 0.4906 GB, free: 12.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1099, allocations: 0 / 0.4906 GB, free: 12.63 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.002017/0.1119, allocations: 1.118 MB / 0.4917 GB, free: 11.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.112, allocations: 15.89 kB / 0.4917 GB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.1121, allocations: 88.38 kB / 0.4918 GB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008714/0.113, allocations: 0.5982 MB / 0.4924 GB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.113, allocations: 37.12 kB / 0.4924 GB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.788e-05/0.1131, allocations: 40 kB / 0.4924 GB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.114, allocations: 456.6 kB / 0.4929 GB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1141, allocations: 0 / 0.4929 GB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.1141, allocations: 16 kB / 0.4929 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.1141, allocations: 11.94 kB / 0.4929 GB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009155/0.115, allocations: 327.7 kB / 0.4932 GB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.1178, allocations: 1.773 MB / 0.4949 GB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1189, allocations: 416.7 kB / 0.4953 GB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.1193, allocations: 128.8 kB / 0.4955 GB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.1193, allocations: 12.06 kB / 0.4955 GB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004953/0.1198, allocations: 191.7 kB / 0.4957 GB, free: 7.203 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.864e-06/0.1198, allocations: 0 / 0.4957 GB, free: 7.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001961/0.1218, allocations: 0.6407 MB / 0.4963 GB, free: 6.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.1218, allocations: 85.09 kB / 0.4964 GB, free: 6.434 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.123, allocations: 0.926 MB / 0.4973 GB, free: 5.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.123, allocations: 33.7 kB / 0.4973 GB, free: 5.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.1234, allocations: 364.4 kB / 0.4976 GB, free: 5.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.43e-05/0.1235, allocations: 95.22 kB / 0.4977 GB, free: 5.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.1236, allocations: 78.06 kB / 0.4978 GB, free: 4.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.1239, allocations: 382.7 kB / 0.4982 GB, free: 4.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.1243, allocations: 142.3 kB / 0.4983 GB, free: 4.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.1248, allocations: 211.3 kB / 0.4985 GB, free: 4.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008664/0.1256, allocations: 370.2 kB / 0.4989 GB, free: 3.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1256, allocations: 4.094 kB / 0.4989 GB, free: 3.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001309/0.1269, allocations: 0.5395 MB / 0.4994 GB, free: 3.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.127, allocations: 36.81 kB / 0.4994 GB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.127, allocations: 4 kB / 0.4994 GB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/0.1273, allocations: 60.81 kB / 0.4995 GB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.1276, allocations: 76.05 kB / 0.4996 GB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.1297, allocations: 1.822 MB / 0.5013 GB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.1301, allocations: 51.7 kB / 0.5014 GB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.1301, allocations: 12 kB / 0.5014 GB, free: 1.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006485/0.1308, allocations: 349.5 kB / 0.5017 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004233/0.1312, allocations: 203 kB / 0.5019 GB, free: 448 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007496/0.1319, allocations: 348.5 kB / 0.5023 GB, free: 68 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.694e-06/0.1319, allocations: 0 / 0.5023 GB, free: 68 kB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001191/0.1331, allocations: 0.5111 MB / 0.5028 GB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.1332, allocations: 37.69 kB / 0.5028 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.1332, allocations: 0 / 0.5028 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.1334, allocations: 60.81 kB / 0.5029 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.1337, allocations: 80.02 kB / 0.5029 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.1356, allocations: 1.81 MB / 0.5047 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.136, allocations: 43.84 kB / 0.5047 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.136, allocations: 12 kB / 0.5048 GB, free: 13.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.000186/0.1362, allocations: 209.5 kB / 0.505 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1363, allocations: 67.56 kB / 0.505 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.1374, allocations: 429.7 kB / 0.5054 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1374, allocations: 4 kB / 0.5054 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.1374, allocations: 0 / 0.5054 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1374, allocations: 3.984 kB / 0.5054 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.1393, allocations: 1.038 MB / 0.5064 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1393, allocations: 0 / 0.5064 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.1396, allocations: 51.97 kB / 0.5065 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000214/0.1398, allocations: 64.94 kB / 0.5066 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.1398, allocations: 7.984 kB / 0.5066 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.1417, allocations: 1.799 MB / 0.5083 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1417, allocations: 4 kB / 0.5083 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.1432, allocations: 0.6488 MB / 0.509 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.1434, allocations: 160.7 kB / 0.5091 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.1435, allocations: 8 kB / 0.5091 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.1438, allocations: 23.95 kB / 0.5091 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.1439, allocations: 27.97 kB / 0.5092 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1439, allocations: 8 kB / 0.5092 GB, free: 8.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008822/0.1448, allocations: 0.6708 MB / 0.5098 GB, free: 7.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1448, allocations: 0 / 0.5098 GB, free: 7.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008835/0.1457, allocations: 239.3 kB / 0.5101 GB, free: 7.656 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.002339/0.148, allocations: 0.5914 MB / 0.5106 GB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.15, allocations: 0.8495 MB / 0.5115 GB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.15, allocations: 128 / 0.5115 GB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.1506, allocations: 278.4 kB / 0.5117 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.1512, allocations: 103.5 kB / 0.5118 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.1537, allocations: 1.39 MB / 0.5132 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.1544, allocations: 0.948 MB / 0.5141 GB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002483/0.1546, allocations: 92.31 kB / 0.5142 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1547, allocations: 35.44 kB / 0.5142 GB, free: 3.535 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1547, allocations: 4 kB / 0.5142 GB, free: 3.531 MB / 382.1 MB Notification: Performance of Templates: time 0.1961/0.3508, allocations: 7.847 MB / 0.5219 GB, free: 35.25 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 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.759238268248737] Failed to read output from testmodel.py, exit status != 0: 0.3577796430326998 0.369853209 0.257407799 Calling exit ...