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.00169/0.00169, allocations: 110.4 kB / 18.68 MB, free: 3.316 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.001895/0.001895, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 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.402/1.402, allocations: 225.6 MB / 250.6 MB, free: 13.36 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.04338/0.04338, allocations: 8.536 MB / 314.3 MB, free: 396 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.001948/0.001948, allocations: 63.88 kB / 438.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.1, allocations: 54.21 MB / 492.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006242/0.1063, allocations: 3.816 MB / 496.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.1096, allocations: 1.823 MB / 498 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.1099, allocations: 4 kB / 498 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.1104, allocations: 202.9 kB / 498.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006033/0.111, allocations: 242.7 kB / 498.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009703/0.112, allocations: 405.2 kB / 498.8 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000963/0.1129, allocations: 0.6471 MB / 499.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.1133, allocations: 183.7 kB / 499.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.1137, allocations: 255 kB / 499.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.1141, allocations: 326.6 kB / 0.4885 GB, free: 14.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.678e-05/0.1142, allocations: 56 kB / 0.4885 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.1144, allocations: 120 kB / 0.4887 GB, free: 14.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.1147, allocations: 215.3 kB / 0.4889 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.115, allocations: 345.9 kB / 0.4892 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.1161, allocations: 0.8831 MB / 0.4901 GB, free: 13.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1161, allocations: 4 kB / 0.4901 GB, free: 13.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1161, allocations: 0 / 0.4901 GB, free: 13.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1161, allocations: 0 / 0.4901 GB, free: 13.09 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.002013/0.1181, allocations: 1.126 MB / 0.4912 GB, free: 11.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1182, allocations: 15.89 kB / 0.4912 GB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.1183, allocations: 92.38 kB / 0.4913 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008786/0.1192, allocations: 0.5944 MB / 0.4918 GB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.1192, allocations: 33.12 kB / 0.4919 GB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.1193, allocations: 40 kB / 0.4919 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000923/0.1202, allocations: 448.6 kB / 0.4923 GB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.1202, allocations: 4 kB / 0.4923 GB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.1203, allocations: 23.97 kB / 0.4924 GB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1203, allocations: 8 kB / 0.4924 GB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009012/0.1212, allocations: 331.7 kB / 0.4927 GB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.1239, allocations: 1.762 MB / 0.4944 GB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.125, allocations: 423.9 kB / 0.4948 GB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.1253, allocations: 133.6 kB / 0.4949 GB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.1254, allocations: 4 kB / 0.4949 GB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004991/0.1259, allocations: 201 kB / 0.4951 GB, free: 7.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 4.318e-06/0.1259, allocations: 4 kB / 0.4951 GB, free: 7.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001894/0.1278, allocations: 0.6368 MB / 0.4958 GB, free: 6.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.1278, allocations: 89.05 kB / 0.4958 GB, free: 6.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.129, allocations: 0.9261 MB / 0.4968 GB, free: 5.938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.129, allocations: 29.7 kB / 0.4968 GB, free: 5.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.1294, allocations: 356.6 kB / 0.4971 GB, free: 5.547 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1295, allocations: 99.17 kB / 0.4972 GB, free: 5.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1296, allocations: 74.06 kB / 0.4973 GB, free: 5.367 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.1298, allocations: 386.7 kB / 0.4977 GB, free: 4.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.1302, allocations: 142.3 kB / 0.4978 GB, free: 4.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.1307, allocations: 215.3 kB / 0.498 GB, free: 4.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008276/0.1315, allocations: 366.2 kB / 0.4983 GB, free: 4.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1315, allocations: 96 / 0.4983 GB, free: 4.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001243/0.1327, allocations: 0.5472 MB / 0.4989 GB, free: 3.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.1328, allocations: 37.69 kB / 0.4989 GB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1328, allocations: 4 kB / 0.4989 GB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000272/0.1331, allocations: 61.03 kB / 0.499 GB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.1334, allocations: 75.89 kB / 0.4991 GB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.1353, allocations: 1.81 MB / 0.5008 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.1356, allocations: 51.73 kB / 0.5009 GB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.1357, allocations: 20.06 kB / 0.5009 GB, free: 1.445 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006336/0.1363, allocations: 344.8 kB / 0.5012 GB, free: 1.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004271/0.1367, allocations: 202.9 kB / 0.5014 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007392/0.1375, allocations: 340.6 kB / 0.5017 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.1375, allocations: 0 / 0.5017 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001169/0.1386, allocations: 0.5149 MB / 0.5022 GB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.1387, allocations: 29.7 kB / 0.5023 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1387, allocations: 7.984 kB / 0.5023 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.1389, allocations: 60.77 kB / 0.5023 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.1392, allocations: 76.03 kB / 0.5024 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.1411, allocations: 1.818 MB / 0.5042 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.1414, allocations: 43.75 kB / 0.5042 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1414, allocations: 16 kB / 0.5042 GB, free: 13.8 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.0001711/0.1416, allocations: 212 kB / 0.5044 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.1417, allocations: 67.52 kB / 0.5045 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.1428, allocations: 428.7 kB / 0.5049 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1428, allocations: 4 kB / 0.5049 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1428, allocations: 0 / 0.5049 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.143, allocations: 168.5 kB / 0.5051 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.143, allocations: 4 kB / 0.5051 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.1433, allocations: 27.97 kB / 0.5051 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.134e-05/0.1434, allocations: 27.95 kB / 0.5051 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001269/0.1446, allocations: 466.6 kB / 0.5056 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001331/0.146, allocations: 0.6935 MB / 0.5063 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003755/0.1464, allocations: 135.9 kB / 0.5064 GB, free: 11.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008624/0.1472, allocations: 0.6591 MB / 0.507 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Backend: time 2.5e-07/0.1472, allocations: 0 / 0.507 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004489/0.1517, allocations: 1.462 MB / 0.5085 GB, free: 9.703 MB / 382.1 MB Notification: Performance of SimCode: time 0.002498/0.1542, allocations: 1.836 MB / 0.5102 GB, free: 7.809 MB / 382.1 MB Notification: Performance of Templates: time 0.1933/0.3475, allocations: 9.183 MB / 0.5192 GB, free: 37.3 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: 4.7611048290273175] Failed to read output from testmodel.py, exit status != 0: 0.3545185420080088 0.36726218999999993 0.24853714699999996 Calling exit ...