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.001713/0.001713, allocations: 115.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.002039/0.002039, allocations: 193.2 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.549/1.549, allocations: 225.6 MB / 250.9 MB, free: 13.32 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.04396/0.04396, allocations: 8.542 MB / 314.7 MB, free: 324 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.001993/0.001993, allocations: 67.88 kB / 438.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.115, allocations: 54.2 MB / 492.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006604/0.1216, allocations: 3.812 MB / 496.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.1248, allocations: 1.831 MB / 498.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.125, allocations: 11.94 kB / 498.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005323/0.1256, allocations: 198.9 kB / 498.7 MB, free: 348 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005889/0.1262, allocations: 242.7 kB / 498.9 MB, free: 104 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009293/0.1271, allocations: 413.6 kB / 499.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007839/0.1279, allocations: 0.6432 MB / 500 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.1282, allocations: 171.8 kB / 0.4884 GB, free: 14.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.1286, allocations: 263 kB / 0.4887 GB, free: 14.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.1291, allocations: 330.5 kB / 0.489 GB, free: 14.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.479e-05/0.1291, allocations: 56 kB / 0.4891 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.1294, allocations: 120 kB / 0.4892 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.1296, allocations: 215.3 kB / 0.4894 GB, free: 13.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.1299, allocations: 349.9 kB / 0.4897 GB, free: 13.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.131, allocations: 0.8754 MB / 0.4906 GB, free: 12.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.131, allocations: 3.984 kB / 0.4906 GB, free: 12.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.131, allocations: 0 / 0.4906 GB, free: 12.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.131, allocations: 3.938 kB / 0.4906 GB, free: 12.68 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.1331, allocations: 1.122 MB / 0.4917 GB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1331, allocations: 15.88 kB / 0.4917 GB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.1333, allocations: 88.38 kB / 0.4918 GB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.1342, allocations: 0.5982 MB / 0.4924 GB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.1342, allocations: 33.12 kB / 0.4924 GB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.1343, allocations: 44 kB / 0.4924 GB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/0.1352, allocations: 448.6 kB / 0.4929 GB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.1352, allocations: 4 kB / 0.4929 GB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.1353, allocations: 16 kB / 0.4929 GB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1353, allocations: 8 kB / 0.4929 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008864/0.1362, allocations: 331.7 kB / 0.4932 GB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.1391, allocations: 1.77 MB / 0.4949 GB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.1401, allocations: 427.9 kB / 0.4953 GB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004182/0.1405, allocations: 132.8 kB / 0.4955 GB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.1406, allocations: 8 kB / 0.4955 GB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005667/0.1411, allocations: 187.7 kB / 0.4957 GB, free: 7.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.865e-06/0.1412, allocations: 0 / 0.4957 GB, free: 7.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.002048/0.1432, allocations: 0.6485 MB / 0.4963 GB, free: 6.574 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.1433, allocations: 81.11 kB / 0.4964 GB, free: 6.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.1446, allocations: 0.926 MB / 0.4973 GB, free: 5.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.1446, allocations: 33.7 kB / 0.4973 GB, free: 5.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.1451, allocations: 356.5 kB / 0.4976 GB, free: 5.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.78e-05/0.1451, allocations: 95.3 kB / 0.4977 GB, free: 5.055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.1454, allocations: 78 kB / 0.4978 GB, free: 4.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.1456, allocations: 386.7 kB / 0.4982 GB, free: 4.582 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.146, allocations: 142.3 kB / 0.4983 GB, free: 4.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.1465, allocations: 215.3 kB / 0.4985 GB, free: 4.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/0.1473, allocations: 370.2 kB / 0.4989 GB, free: 3.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1473, allocations: 96 / 0.4989 GB, free: 3.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001276/0.1486, allocations: 0.5395 MB / 0.4994 GB, free: 3.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.1486, allocations: 36.83 kB / 0.4994 GB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1486, allocations: 4 kB / 0.4994 GB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003171/0.149, allocations: 60.81 kB / 0.4995 GB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.1493, allocations: 80.03 kB / 0.4996 GB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.1518, allocations: 1.814 MB / 0.5013 GB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.1522, allocations: 59.72 kB / 0.5014 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.1523, allocations: 16 kB / 0.5014 GB, free: 1.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007861/0.153, allocations: 345.5 kB / 0.5017 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004156/0.1535, allocations: 199 kB / 0.5019 GB, free: 496 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007856/0.1542, allocations: 348.5 kB / 0.5023 GB, free: 116 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.1542, allocations: 0 / 0.5023 GB, free: 116 kB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001231/0.1555, allocations: 0.5111 MB / 0.5028 GB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.1555, allocations: 33.7 kB / 0.5028 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1555, allocations: 4 kB / 0.5028 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/0.1557, allocations: 56.81 kB / 0.5029 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.156, allocations: 75.83 kB / 0.5029 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.1581, allocations: 1.822 MB / 0.5047 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.1584, allocations: 43.81 kB / 0.5047 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.1585, allocations: 16 kB / 0.5048 GB, free: 13.39 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.000278/0.1587, allocations: 204.6 kB / 0.505 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.1589, allocations: 63.58 kB / 0.505 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.1601, allocations: 433.7 kB / 0.5054 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.1601, allocations: 4 kB / 0.5054 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1601, allocations: 3.938 kB / 0.5054 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1601, allocations: 0 / 0.5054 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.1621, allocations: 1.034 MB / 0.5064 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1621, allocations: 4 kB / 0.5064 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.1624, allocations: 51.95 kB / 0.5065 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002413/0.1627, allocations: 60.75 kB / 0.5066 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.1627, allocations: 8 kB / 0.5066 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.1646, allocations: 1.803 MB / 0.5083 GB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1646, allocations: 64 / 0.5083 GB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.1661, allocations: 0.6488 MB / 0.509 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.1664, allocations: 160.7 kB / 0.5091 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-05/0.1665, allocations: 11.94 kB / 0.5091 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.1668, allocations: 23.97 kB / 0.5091 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.1669, allocations: 27.95 kB / 0.5092 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1669, allocations: 8 kB / 0.5092 GB, free: 8.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00105/0.1679, allocations: 0.6669 MB / 0.5098 GB, free: 7.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1679, allocations: 0 / 0.5098 GB, free: 7.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009829/0.1689, allocations: 243.3 kB / 0.5101 GB, free: 7.699 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.002419/0.1713, allocations: 0.5914 MB / 0.5106 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.1735, allocations: 0.8495 MB / 0.5115 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1735, allocations: 128 / 0.5115 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.1741, allocations: 282.4 kB / 0.5117 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.1747, allocations: 99.17 kB / 0.5118 GB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.1774, allocations: 1.39 MB / 0.5132 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/0.1781, allocations: 0.948 MB / 0.5141 GB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000255/0.1784, allocations: 92.31 kB / 0.5142 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.1785, allocations: 39.44 kB / 0.5142 GB, free: 3.578 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1785, allocations: 0 / 0.5142 GB, free: 3.578 MB / 382.1 MB Notification: Performance of Templates: time 0.2319/0.4104, allocations: 7.851 MB / 0.5219 GB, free: 35.17 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 cvode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.206921798642725] Failed to read output from testmodel.py, exit status != 0: 0.4199846521951258 0.43683720600000003 0.302768021 Calling exit ...