Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.001322/0.001322, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001373/0.001373, allocations: 200.2 kB / 22.17 MB, free: 5.211 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.489/1.489, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.04388/0.04388, allocations: 8.536 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-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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 438.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1159, allocations: 54.2 MB / 492.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.006048/0.122, allocations: 3.708 MB / 496.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.125, allocations: 1.796 MB / 498.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.1253, allocations: 8 kB / 498.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.1258, allocations: 202.9 kB / 498.6 MB, free: 432 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.1263, allocations: 238.8 kB / 498.8 MB, free: 192 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009023/0.1272, allocations: 399.9 kB / 499.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007679/0.128, allocations: 0.6198 MB / 499.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.1283, allocations: 154.7 kB / 500 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.1287, allocations: 251 kB / 0.4885 GB, free: 14.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.1292, allocations: 307.5 kB / 0.4888 GB, free: 14.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.1292, allocations: 52 kB / 0.4888 GB, free: 14.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.1294, allocations: 107.9 kB / 0.4889 GB, free: 14.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.1297, allocations: 211.3 kB / 0.4891 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.1302, allocations: 326.1 kB / 0.4894 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.1313, allocations: 0.8519 MB / 0.4903 GB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1313, allocations: 0 / 0.4903 GB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1313, allocations: 0 / 0.4903 GB, free: 12.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1313, allocations: 0 / 0.4903 GB, free: 12.93 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.002215/0.1335, allocations: 1.103 MB / 0.4914 GB, free: 11.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1335, allocations: 11.89 kB / 0.4914 GB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.1337, allocations: 80.42 kB / 0.4914 GB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009282/0.1346, allocations: 0.5828 MB / 0.492 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/0.1346, allocations: 32.94 kB / 0.492 GB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.1347, allocations: 39.95 kB / 0.4921 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/0.1356, allocations: 424.7 kB / 0.4925 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1357, allocations: 0 / 0.4925 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.1357, allocations: 12 kB / 0.4925 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.1357, allocations: 8 kB / 0.4925 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008819/0.1366, allocations: 311.7 kB / 0.4928 GB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.1395, allocations: 1.684 MB / 0.4944 GB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009971/0.1404, allocations: 310.8 kB / 0.4947 GB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.1408, allocations: 124.8 kB / 0.4949 GB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.1409, allocations: 0 / 0.4949 GB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005989/0.1415, allocations: 187.1 kB / 0.495 GB, free: 7.828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.993e-06/0.1415, allocations: 0 / 0.495 GB, free: 7.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.00161/0.1431, allocations: 0.5339 MB / 0.4956 GB, free: 7.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1432, allocations: 93.03 kB / 0.4956 GB, free: 7.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.1445, allocations: 0.9183 MB / 0.4965 GB, free: 6.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/0.1446, allocations: 33.7 kB / 0.4966 GB, free: 6.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.145, allocations: 336.3 kB / 0.4969 GB, free: 5.859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.8e-05/0.1451, allocations: 91.34 kB / 0.497 GB, free: 5.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.1452, allocations: 73.69 kB / 0.4971 GB, free: 5.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.1455, allocations: 378.8 kB / 0.4974 GB, free: 5.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.1459, allocations: 140.7 kB / 0.4975 GB, free: 5.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.1463, allocations: 203.6 kB / 0.4977 GB, free: 4.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008128/0.1471, allocations: 356.6 kB / 0.4981 GB, free: 4.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1471, allocations: 3.938 kB / 0.4981 GB, free: 4.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001149/0.1483, allocations: 491.2 kB / 0.4986 GB, free: 4.066 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.1483, allocations: 37.64 kB / 0.4986 GB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1483, allocations: 0 / 0.4986 GB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.1485, allocations: 25.06 kB / 0.4986 GB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.1489, allocations: 79.89 kB / 0.4987 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.1501, allocations: 1.375 MB / 0.5 GB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.1505, allocations: 55.8 kB / 0.5001 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.1506, allocations: 15.94 kB / 0.5001 GB, free: 2.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006489/0.1512, allocations: 336 kB / 0.5004 GB, free: 2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004071/0.1516, allocations: 195.6 kB / 0.5006 GB, free: 1.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007273/0.1523, allocations: 327.9 kB / 0.5009 GB, free: 1.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.834e-06/0.1523, allocations: 4 kB / 0.5009 GB, free: 1.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001055/0.1534, allocations: 463.1 kB / 0.5014 GB, free: 0.957 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.1534, allocations: 37.69 kB / 0.5014 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.1534, allocations: 224 / 0.5014 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.469e-05/0.1535, allocations: 36.72 kB / 0.5014 GB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.1538, allocations: 75.89 kB / 0.5015 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.155, allocations: 1.367 MB / 0.5028 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.1553, allocations: 43.89 kB / 0.5029 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.1553, allocations: 12 kB / 0.5029 GB, free: 15.24 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.0002014/0.1555, allocations: 208.7 kB / 0.5031 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.1556, allocations: 67.53 kB / 0.5032 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.1567, allocations: 370.8 kB / 0.5035 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1567, allocations: 4 kB / 0.5035 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1567, allocations: 4 kB / 0.5035 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1567, allocations: 3.984 kB / 0.5035 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007668/0.1575, allocations: 0.5245 MB / 0.504 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1575, allocations: 0 / 0.504 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.1578, allocations: 51.95 kB / 0.5041 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.889e-05/0.1579, allocations: 20.84 kB / 0.5041 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.1579, allocations: 4 kB / 0.5041 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.159, allocations: 1.384 MB / 0.5055 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.159, allocations: 0 / 0.5055 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.1604, allocations: 0.521 MB / 0.506 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.1606, allocations: 156.7 kB / 0.5061 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/0.1607, allocations: 11.98 kB / 0.5061 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.1609, allocations: 23.97 kB / 0.5062 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.161, allocations: 23.97 kB / 0.5062 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.161, allocations: 8 kB / 0.5062 GB, free: 11.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009601/0.162, allocations: 0.6591 MB / 0.5068 GB, free: 10.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.162, allocations: 7.938 kB / 0.5068 GB, free: 10.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007073/0.1627, allocations: 215.4 kB / 0.507 GB, free: 10.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.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 (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.002406/0.1651, allocations: 0.5974 MB / 0.5076 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.1671, allocations: 0.788 MB / 0.5084 GB, free: 9.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.1671, allocations: 4.125 kB / 0.5084 GB, free: 9.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.1677, allocations: 246.5 kB / 0.5086 GB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.1684, allocations: 93.83 kB / 0.5087 GB, free: 9.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.1716, allocations: 1.343 MB / 0.51 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008796/0.1725, allocations: 0.9326 MB / 0.5109 GB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000305/0.1728, allocations: 88.2 kB / 0.511 GB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.1729, allocations: 35.44 kB / 0.5111 GB, free: 6.793 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1729, allocations: 4 kB / 0.5111 GB, free: 6.789 MB / 382.1 MB Notification: Performance of Templates: time 0.2396/0.4125, allocations: 6.837 MB / 0.5177 GB, free: 36.64 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.000041325110942] Failed to read output from testmodel.py, exit status != 0: 0.42086804611608386 0.434195403 0.30015871899999996 Calling exit ...