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.00171/0.00171, allocations: 110.6 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.002037/0.002037, allocations: 194 kB / 22.17 MB, free: 5.652 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.494/1.494, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.04227/0.04227, allocations: 8.525 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/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.001961/0.001961, allocations: 63.91 kB / 438.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1092, allocations: 54.2 MB / 492.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006317/0.1155, allocations: 3.823 MB / 496.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.1187, allocations: 1.827 MB / 498.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.119, allocations: 11.94 kB / 498.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.1195, allocations: 202.9 kB / 498.7 MB, free: 424 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005675/0.1201, allocations: 238.7 kB / 498.9 MB, free: 184 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008993/0.121, allocations: 414.3 kB / 499.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008578/0.1218, allocations: 0.6432 MB / 500 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000437/0.1222, allocations: 171.8 kB / 0.4884 GB, free: 14.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.1227, allocations: 270.9 kB / 0.4887 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005005/0.1232, allocations: 322.6 kB / 0.489 GB, free: 14.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.659e-05/0.1232, allocations: 56 kB / 0.4891 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.1235, allocations: 116 kB / 0.4892 GB, free: 14.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.1237, allocations: 219.3 kB / 0.4894 GB, free: 13.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.1241, allocations: 345.9 kB / 0.4897 GB, free: 13.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1252, allocations: 0.8831 MB / 0.4906 GB, free: 12.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1252, allocations: 0 / 0.4906 GB, free: 12.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1252, allocations: 3.938 kB / 0.4906 GB, free: 12.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.1252, allocations: 3.984 kB / 0.4906 GB, free: 12.75 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.002475/0.1277, allocations: 1.122 MB / 0.4917 GB, free: 11.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1277, allocations: 11.89 kB / 0.4917 GB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.1279, allocations: 92.36 kB / 0.4918 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009616/0.1289, allocations: 0.5983 MB / 0.4924 GB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/0.1289, allocations: 33.12 kB / 0.4924 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.129, allocations: 44 kB / 0.4924 GB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009555/0.13, allocations: 448.6 kB / 0.4929 GB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.13, allocations: 4 kB / 0.4929 GB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.13, allocations: 12 kB / 0.4929 GB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.13, allocations: 12 kB / 0.4929 GB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009396/0.131, allocations: 331.7 kB / 0.4932 GB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/0.134, allocations: 1.766 MB / 0.4949 GB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.1351, allocations: 423.9 kB / 0.4953 GB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.1356, allocations: 129.6 kB / 0.4955 GB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/0.1356, allocations: 8.078 kB / 0.4955 GB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/0.1361, allocations: 197.1 kB / 0.4956 GB, free: 7.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.013e-06/0.1361, allocations: 0 / 0.4956 GB, free: 7.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.002012/0.1381, allocations: 0.6446 MB / 0.4963 GB, free: 6.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.1382, allocations: 81.11 kB / 0.4964 GB, free: 6.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.1395, allocations: 0.9338 MB / 0.4973 GB, free: 5.609 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.1396, allocations: 29.7 kB / 0.4973 GB, free: 5.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.1399, allocations: 360.5 kB / 0.4976 GB, free: 5.215 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/0.14, allocations: 95.22 kB / 0.4977 GB, free: 5.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1401, allocations: 74.06 kB / 0.4978 GB, free: 5.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002871/0.1404, allocations: 386.7 kB / 0.4982 GB, free: 4.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.1408, allocations: 142.3 kB / 0.4983 GB, free: 4.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.1413, allocations: 211.3 kB / 0.4985 GB, free: 4.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/0.1422, allocations: 374.2 kB / 0.4989 GB, free: 3.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1422, allocations: 0 / 0.4989 GB, free: 3.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001328/0.1435, allocations: 0.5356 MB / 0.4994 GB, free: 3.332 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.1436, allocations: 33.7 kB / 0.4994 GB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1436, allocations: 0 / 0.4994 GB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/0.1439, allocations: 68.75 kB / 0.4995 GB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.1442, allocations: 80.03 kB / 0.4996 GB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.1466, allocations: 1.81 MB / 0.5013 GB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.147, allocations: 55.81 kB / 0.5014 GB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.1471, allocations: 19.94 kB / 0.5014 GB, free: 1.117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000669/0.1477, allocations: 348.9 kB / 0.5017 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004218/0.1481, allocations: 199 kB / 0.5019 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007464/0.1489, allocations: 344.5 kB / 0.5023 GB, free: 192 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.1489, allocations: 7.984 kB / 0.5023 GB, free: 184 kB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001199/0.1501, allocations: 0.511 MB / 0.5028 GB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.1501, allocations: 36.3 kB / 0.5028 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1501, allocations: 4 kB / 0.5028 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.1503, allocations: 60.81 kB / 0.5029 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.1507, allocations: 71.89 kB / 0.5029 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.1531, allocations: 1.818 MB / 0.5047 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.1534, allocations: 43.81 kB / 0.5047 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.1534, allocations: 12 kB / 0.5048 GB, free: 13.47 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.0002201/0.1536, allocations: 212.2 kB / 0.505 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1537, allocations: 63.58 kB / 0.505 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.1549, allocations: 428.8 kB / 0.5054 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1549, allocations: 4 kB / 0.5054 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.1549, allocations: 0 / 0.5054 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1549, allocations: 3.938 kB / 0.5054 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.157, allocations: 1.039 MB / 0.5064 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.157, allocations: 0 / 0.5064 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.1573, allocations: 55.95 kB / 0.5065 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.1576, allocations: 60.75 kB / 0.5066 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.1576, allocations: 4 kB / 0.5066 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.1596, allocations: 1.807 MB / 0.5083 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1596, allocations: 4.062 kB / 0.5083 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.1611, allocations: 0.6451 MB / 0.509 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.1614, allocations: 164.7 kB / 0.5091 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.1614, allocations: 4 kB / 0.5091 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.1617, allocations: 27.97 kB / 0.5091 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.1618, allocations: 27.95 kB / 0.5092 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1618, allocations: 4 kB / 0.5092 GB, free: 8.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001027/0.1628, allocations: 0.6669 MB / 0.5098 GB, free: 8.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1628, allocations: 0 / 0.5098 GB, free: 8.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008555/0.1637, allocations: 243.4 kB / 0.5101 GB, free: 7.773 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.1661, allocations: 0.5981 MB / 0.5106 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.1683, allocations: 0.8449 MB / 0.5115 GB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1683, allocations: 4.125 kB / 0.5115 GB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005843/0.1689, allocations: 270.5 kB / 0.5117 GB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.1695, allocations: 100.8 kB / 0.5118 GB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.1722, allocations: 1.386 MB / 0.5132 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000971/0.1732, allocations: 0.948 MB / 0.5141 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002301/0.1734, allocations: 92.3 kB / 0.5142 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1735, allocations: 35.44 kB / 0.5142 GB, free: 3.664 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1735, allocations: 0 / 0.5142 GB, free: 3.664 MB / 382.1 MB Notification: Performance of Templates: time 0.1943/0.3678, allocations: 7.855 MB / 0.5219 GB, free: 35.12 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 -s gbode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.870373063255101] Failed to read output from testmodel.py, exit status != 0: 0.3754850663244724 0.38786759600000004 0.259763436 Calling exit ...