Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001382/0.001382, allocations: 192 kB / 22.17 MB, free: 5.656 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.459/1.459, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.0433/0.0433, allocations: 8.54 MB / 314.7 MB, free: 320 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/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=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 63.89 kB / 438.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1031, allocations: 54.2 MB / 492.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.00634/0.1094, allocations: 3.698 MB / 496.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.113, allocations: 1.788 MB / 498.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004742/0.1135, allocations: 11.94 kB / 498.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.1141, allocations: 195 kB / 498.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008476/0.115, allocations: 238.8 kB / 498.8 MB, free: 288 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.1162, allocations: 405.8 kB / 499.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.1174, allocations: 0.616 MB / 499.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/0.1177, allocations: 150.7 kB / 499.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005077/0.1183, allocations: 251 kB / 0.4885 GB, free: 14.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006992/0.119, allocations: 314.7 kB / 0.4888 GB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.1191, allocations: 56 kB / 0.4888 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.1194, allocations: 132 kB / 0.4889 GB, free: 14.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.1197, allocations: 219.3 kB / 0.4891 GB, free: 14.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004539/0.1202, allocations: 330 kB / 0.4895 GB, free: 13.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.1214, allocations: 0.8753 MB / 0.4903 GB, free: 12.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1214, allocations: 0 / 0.4903 GB, free: 12.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1214, allocations: 0 / 0.4903 GB, free: 12.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1214, allocations: 0 / 0.4903 GB, free: 12.95 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.001998/0.1234, allocations: 1.103 MB / 0.4914 GB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1235, allocations: 11.89 kB / 0.4914 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.1236, allocations: 88.38 kB / 0.4915 GB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008936/0.1245, allocations: 0.5828 MB / 0.4921 GB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.1246, allocations: 41.11 kB / 0.4921 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.1246, allocations: 39.95 kB / 0.4921 GB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008777/0.1255, allocations: 434.4 kB / 0.4925 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.1255, allocations: 0 / 0.4925 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.1256, allocations: 16 kB / 0.4926 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1256, allocations: 11.98 kB / 0.4926 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/0.1264, allocations: 303.7 kB / 0.4929 GB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.1291, allocations: 1.695 MB / 0.4945 GB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009455/0.13, allocations: 320.9 kB / 0.4948 GB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.1304, allocations: 116.8 kB / 0.4949 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.1304, allocations: 0 / 0.4949 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004935/0.1309, allocations: 191.1 kB / 0.4951 GB, free: 7.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.1309, allocations: 0 / 0.4951 GB, free: 7.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001524/0.1324, allocations: 0.5329 MB / 0.4956 GB, free: 7.246 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.626e-05/0.1325, allocations: 136.5 kB / 0.4958 GB, free: 7.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.1338, allocations: 0.9416 MB / 0.4967 GB, free: 6.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.1338, allocations: 33.7 kB / 0.4967 GB, free: 6.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.1341, allocations: 344.4 kB / 0.4971 GB, free: 5.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.1342, allocations: 83.33 kB / 0.4971 GB, free: 5.672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1344, allocations: 77.64 kB / 0.4972 GB, free: 5.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1346, allocations: 378.8 kB / 0.4976 GB, free: 5.211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.135, allocations: 144.7 kB / 0.4977 GB, free: 5.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.1354, allocations: 217.3 kB / 0.4979 GB, free: 4.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/0.1362, allocations: 356.5 kB / 0.4983 GB, free: 4.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1363, allocations: 7.875 kB / 0.4983 GB, free: 4.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001153/0.1374, allocations: 495.3 kB / 0.4987 GB, free: 3.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.1374, allocations: 33.69 kB / 0.4988 GB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.1375, allocations: 7.938 kB / 0.4988 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.1376, allocations: 20.86 kB / 0.4988 GB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.138, allocations: 75.88 kB / 0.4989 GB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.1392, allocations: 1.383 MB / 0.5002 GB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.1395, allocations: 51.83 kB / 0.5003 GB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.1396, allocations: 12 kB / 0.5003 GB, free: 2.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006787/0.1403, allocations: 339.9 kB / 0.5006 GB, free: 1.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004352/0.1407, allocations: 213.3 kB / 0.5008 GB, free: 1.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000715/0.1414, allocations: 323.9 kB / 0.5011 GB, free: 1.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.1414, allocations: 0 / 0.5011 GB, free: 1.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001063/0.1425, allocations: 482.8 kB / 0.5016 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.1425, allocations: 41.69 kB / 0.5016 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.1425, allocations: 0 / 0.5016 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.722e-05/0.1426, allocations: 25.06 kB / 0.5016 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.1429, allocations: 79.83 kB / 0.5017 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1441, allocations: 1.371 MB / 0.503 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.1445, allocations: 39.81 kB / 0.5031 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.1445, allocations: 16 kB / 0.5031 GB, free: 15.07 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,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.0002119/0.1447, allocations: 197.5 kB / 0.5033 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.1448, allocations: 79.61 kB / 0.5034 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.1459, allocations: 368.2 kB / 0.5037 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1459, allocations: 3.984 kB / 0.5037 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1459, allocations: 4 kB / 0.5037 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1459, allocations: 4.047 kB / 0.5037 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007299/0.1466, allocations: 0.54 MB / 0.5043 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1467, allocations: 0 / 0.5043 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.147, allocations: 55.95 kB / 0.5043 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.833e-05/0.147, allocations: 16.86 kB / 0.5043 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.1471, allocations: 3.984 kB / 0.5043 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.1482, allocations: 1.376 MB / 0.5057 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1482, allocations: 3.938 kB / 0.5057 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.1496, allocations: 0.5353 MB / 0.5062 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.1498, allocations: 160.6 kB / 0.5064 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.518e-05/0.1499, allocations: 8 kB / 0.5064 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.1502, allocations: 23.97 kB / 0.5064 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/0.1503, allocations: 23.97 kB / 0.5064 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1503, allocations: 7.984 kB / 0.5064 GB, free: 11.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009259/0.1512, allocations: 0.6709 MB / 0.5071 GB, free: 10.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1512, allocations: 0 / 0.5071 GB, free: 10.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007821/0.152, allocations: 227.4 kB / 0.5073 GB, free: 10.54 MB / 382.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.002507/0.1545, allocations: 0.6387 MB / 0.5079 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.1564, allocations: 0.8049 MB / 0.5087 GB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.1564, allocations: 0 / 0.5087 GB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.157, allocations: 246.5 kB / 0.5089 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.1576, allocations: 96.89 kB / 0.509 GB, free: 9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.1606, allocations: 1.339 MB / 0.5103 GB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/0.1613, allocations: 0.9287 MB / 0.5112 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003079/0.1616, allocations: 92.2 kB / 0.5113 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1617, allocations: 43.44 kB / 0.5114 GB, free: 6.535 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1617, allocations: 0 / 0.5114 GB, free: 6.535 MB / 382.1 MB Notification: Performance of Templates: time 0.2621/0.4239, allocations: 7.27 MB / 0.5185 GB, free: 36.43 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.149027281906456] Failed to read output from testmodel.py, exit status != 0: 0.4317597639746964 0.446112467 0.321641771 Calling exit ...