Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.00168/0.00168, allocations: 107.7 kB / 18.89 MB, free: 2.875 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.001658/0.001658, allocations: 199.9 kB / 22.17 MB, free: 5.188 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.36/1.36, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.04113/0.04113, allocations: 8.534 MB / 314.7 MB, free: 304 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 55.91 kB / 438.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09674, allocations: 54.21 MB / 492.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006224/0.103, allocations: 3.812 MB / 496.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003092/0.1061, allocations: 1.835 MB / 498.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.1063, allocations: 15.94 kB / 498.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.1068, allocations: 198.9 kB / 498.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005683/0.1074, allocations: 238.7 kB / 498.9 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000899/0.1083, allocations: 416.5 kB / 499.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007567/0.1091, allocations: 0.6471 MB / 0.4883 GB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.1094, allocations: 179.8 kB / 0.4885 GB, free: 14.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.1097, allocations: 258.9 kB / 0.4887 GB, free: 14.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004631/0.1102, allocations: 322.6 kB / 0.489 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.831e-05/0.1103, allocations: 52 kB / 0.4891 GB, free: 14.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.1105, allocations: 128 kB / 0.4892 GB, free: 14.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.1107, allocations: 211.3 kB / 0.4894 GB, free: 13.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.111, allocations: 350 kB / 0.4897 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.1121, allocations: 0.8792 MB / 0.4906 GB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1121, allocations: 0 / 0.4906 GB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1121, allocations: 0 / 0.4906 GB, free: 12.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1121, allocations: 3.938 kB / 0.4906 GB, free: 12.66 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.001945/0.1141, allocations: 1.126 MB / 0.4917 GB, free: 11.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1141, allocations: 11.89 kB / 0.4917 GB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.1142, allocations: 88.38 kB / 0.4918 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/0.1151, allocations: 0.6021 MB / 0.4924 GB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.1152, allocations: 33.12 kB / 0.4924 GB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.1152, allocations: 44 kB / 0.4924 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008886/0.1161, allocations: 444.6 kB / 0.4929 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.1161, allocations: 0 / 0.4929 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.1162, allocations: 19.98 kB / 0.4929 GB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1162, allocations: 16 kB / 0.4929 GB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.1171, allocations: 327.7 kB / 0.4932 GB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.1198, allocations: 1.77 MB / 0.4949 GB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1209, allocations: 427.9 kB / 0.4953 GB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/0.1213, allocations: 125.6 kB / 0.4955 GB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.1213, allocations: 4 kB / 0.4955 GB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005143/0.1218, allocations: 197.1 kB / 0.4957 GB, free: 7.219 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.545e-06/0.1218, allocations: 0 / 0.4957 GB, free: 7.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001934/0.1238, allocations: 0.6407 MB / 0.4963 GB, free: 6.551 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.1238, allocations: 81.11 kB / 0.4964 GB, free: 6.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.1251, allocations: 0.9377 MB / 0.4973 GB, free: 5.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.1251, allocations: 29.7 kB / 0.4973 GB, free: 5.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.1254, allocations: 352.6 kB / 0.4976 GB, free: 5.121 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1255, allocations: 95.23 kB / 0.4977 GB, free: 5.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1257, allocations: 78.06 kB / 0.4978 GB, free: 4.941 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.1259, allocations: 390.7 kB / 0.4982 GB, free: 4.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.1263, allocations: 142.3 kB / 0.4983 GB, free: 4.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.1267, allocations: 211.3 kB / 0.4985 GB, free: 4.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008349/0.1276, allocations: 370.2 kB / 0.4989 GB, free: 3.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1276, allocations: 0 / 0.4989 GB, free: 3.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001273/0.1289, allocations: 0.5356 MB / 0.4994 GB, free: 3.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.1289, allocations: 41.91 kB / 0.4994 GB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1289, allocations: 0 / 0.4994 GB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.1292, allocations: 60.81 kB / 0.4995 GB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.1295, allocations: 75.83 kB / 0.4996 GB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.1315, allocations: 1.822 MB / 0.5013 GB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.1318, allocations: 51.7 kB / 0.5014 GB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.1319, allocations: 16 kB / 0.5014 GB, free: 1.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006203/0.1325, allocations: 344.8 kB / 0.5017 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004059/0.1329, allocations: 203.1 kB / 0.5019 GB, free: 468 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007157/0.1336, allocations: 340.6 kB / 0.5023 GB, free: 96 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.1336, allocations: 3.938 kB / 0.5023 GB, free: 92 kB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001156/0.1348, allocations: 0.511 MB / 0.5028 GB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.1348, allocations: 36.36 kB / 0.5028 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1348, allocations: 0 / 0.5028 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.135, allocations: 72.97 kB / 0.5029 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.1353, allocations: 71.88 kB / 0.5029 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.1372, allocations: 1.818 MB / 0.5047 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.1375, allocations: 43.75 kB / 0.5047 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.1375, allocations: 20.06 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.0001982/0.1377, allocations: 204.6 kB / 0.505 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/0.1378, allocations: 67.58 kB / 0.505 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.139, allocations: 428.7 kB / 0.5054 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.139, allocations: 0 / 0.5054 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.139, allocations: 0 / 0.5054 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.139, allocations: 0 / 0.5054 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.1408, allocations: 1.035 MB / 0.5064 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1408, allocations: 0 / 0.5064 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.1411, allocations: 51.95 kB / 0.5065 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.1413, allocations: 64.75 kB / 0.5066 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1413, allocations: 4.188 kB / 0.5066 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.1432, allocations: 1.814 MB / 0.5083 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1432, allocations: 0 / 0.5083 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.1446, allocations: 0.649 MB / 0.509 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.1448, allocations: 160.7 kB / 0.5091 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.1449, allocations: 8 kB / 0.5091 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.1452, allocations: 27.97 kB / 0.5092 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.1453, allocations: 31.95 kB / 0.5092 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1453, allocations: 4 kB / 0.5092 GB, free: 8.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008481/0.1461, allocations: 0.663 MB / 0.5098 GB, free: 7.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1461, allocations: 0 / 0.5098 GB, free: 7.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008653/0.147, allocations: 235.4 kB / 0.5101 GB, free: 7.68 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.002281/0.1493, allocations: 0.6002 MB / 0.5106 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.1511, allocations: 0.8522 MB / 0.5115 GB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1511, allocations: 3.938 kB / 0.5115 GB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005479/0.1517, allocations: 267.1 kB / 0.5117 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.1523, allocations: 105.6 kB / 0.5118 GB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.1547, allocations: 1.423 MB / 0.5132 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.1554, allocations: 0.9429 MB / 0.5141 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1555, allocations: 43.42 kB / 0.5142 GB, free: 3.602 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1555, allocations: 0 / 0.5142 GB, free: 3.602 MB / 382.1 MB Notification: Performance of Templates: time 0.1863/0.3418, allocations: 10.96 MB / 0.5249 GB, free: 34.51 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.007017528172582] Failed to read output from testmodel.py, exit status != 0: 0.3488687858916819 0.360054054 0.245517915 Calling exit ...