Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 216.5 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04369/0.04369, allocations: 8.538 MB / 321.7 MB, free: 10.42 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 75.91 kB / 448.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1274, allocations: 55.42 MB / 0.4917 GB, free: 7.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.006174/0.1335, allocations: 3.509 MB / 0.4952 GB, free: 4.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.1371, allocations: 1.878 MB / 0.497 GB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000345/0.1374, allocations: 11.94 kB / 0.497 GB, free: 2.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.1379, allocations: 202.9 kB / 0.4972 GB, free: 2.004 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007629/0.1387, allocations: 286.6 kB / 0.4975 GB, free: 1.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009426/0.1396, allocations: 401.5 kB / 0.4979 GB, free: 1.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008486/0.1405, allocations: 0.6432 MB / 0.4985 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.1408, allocations: 147.1 kB / 0.4986 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.1412, allocations: 263 kB / 0.4989 GB, free: 288 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.1416, allocations: 310.6 kB / 0.4992 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-05/0.1417, allocations: 56 kB / 0.4992 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003325/0.1421, allocations: 179.9 kB / 0.4994 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.1423, allocations: 219.3 kB / 0.4996 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.1426, allocations: 258.5 kB / 0.4999 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.1438, allocations: 0.9533 MB / 0.5008 GB, free: 14.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1438, allocations: 0 / 0.5008 GB, free: 14.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1438, allocations: 0 / 0.5008 GB, free: 14.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.1438, allocations: 0 / 0.5008 GB, free: 14.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002018/0.1458, allocations: 1.059 MB / 0.5018 GB, free: 13.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1459, allocations: 11.97 kB / 0.5018 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.146, allocations: 88.38 kB / 0.5019 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000922/0.147, allocations: 0.5302 MB / 0.5024 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.147, allocations: 37.12 kB / 0.5025 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/0.1471, allocations: 43.94 kB / 0.5025 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.148, allocations: 0.4995 MB / 0.503 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.148, allocations: 0 / 0.503 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.1481, allocations: 16 kB / 0.503 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1481, allocations: 8 kB / 0.503 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/0.1489, allocations: 307.7 kB / 0.5033 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.1516, allocations: 1.457 MB / 0.5047 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.1526, allocations: 306.8 kB / 0.505 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.1529, allocations: 120.8 kB / 0.5051 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.1529, allocations: 4 kB / 0.5051 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.1534, allocations: 190.7 kB / 0.5053 GB, free: 9.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.304e-06/0.1534, allocations: 0 / 0.5053 GB, free: 9.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001452/0.1549, allocations: 465.7 kB / 0.5058 GB, free: 9.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.155, allocations: 136.5 kB / 0.5059 GB, free: 8.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.1563, allocations: 0.9611 MB / 0.5068 GB, free: 7.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.1563, allocations: 29.7 kB / 0.5069 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.1567, allocations: 352.5 kB / 0.5072 GB, free: 7.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.295e-05/0.1568, allocations: 83.39 kB / 0.5073 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1569, allocations: 77.62 kB / 0.5074 GB, free: 7.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.1571, allocations: 382.8 kB / 0.5077 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.1576, allocations: 170.4 kB / 0.5079 GB, free: 6.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005401/0.1581, allocations: 328.1 kB / 0.5082 GB, free: 6.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/0.1589, allocations: 356.4 kB / 0.5085 GB, free: 6.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1589, allocations: 0 / 0.5085 GB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001209/0.1601, allocations: 0.5164 MB / 0.509 GB, free: 5.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.1602, allocations: 33.7 kB / 0.5091 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1602, allocations: 4 kB / 0.5091 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.1604, allocations: 24.78 kB / 0.5091 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.1607, allocations: 83.81 kB / 0.5092 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.1619, allocations: 1.245 MB / 0.5104 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.1623, allocations: 55.73 kB / 0.5105 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.1623, allocations: 16 kB / 0.5105 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006649/0.163, allocations: 373.6 kB / 0.5108 GB, free: 3.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004994/0.1635, allocations: 317 kB / 0.5111 GB, free: 3.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007257/0.1642, allocations: 324.1 kB / 0.5114 GB, free: 2.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.1642, allocations: 0 / 0.5114 GB, free: 2.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001084/0.1653, allocations: 0.4968 MB / 0.5119 GB, free: 2.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.1653, allocations: 41.7 kB / 0.512 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1654, allocations: 3.984 kB / 0.512 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.645e-05/0.1654, allocations: 16.95 kB / 0.512 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.1657, allocations: 79.88 kB / 0.5121 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.1668, allocations: 1.244 MB / 0.5133 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.1672, allocations: 55.94 kB / 0.5133 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.1672, allocations: 16 kB / 0.5133 GB, free: 0.7266 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.00019/0.1674, allocations: 200.1 kB / 0.5135 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.1675, allocations: 67.56 kB / 0.5136 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.1685, allocations: 376.3 kB / 0.514 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1685, allocations: 4 kB / 0.514 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.1685, allocations: 3.938 kB / 0.514 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1685, allocations: 0 / 0.514 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2314/0.3999, allocations: 406.3 kB / 0.5144 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3999, allocations: 0 / 0.5144 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.4002, allocations: 52.34 kB / 0.5144 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.4003, allocations: 23.41 kB / 0.5144 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.4003, allocations: 7.781 kB / 0.5144 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006963/0.401, allocations: 1.241 MB / 0.5156 GB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.401, allocations: 2.781 kB / 0.5156 GB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.4022, allocations: 0.5256 MB / 0.5162 GB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.4024, allocations: 84.98 kB / 0.5162 GB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.4024, allocations: 5.469 kB / 0.5162 GB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.4027, allocations: 32.89 kB / 0.5163 GB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.4028, allocations: 26.33 kB / 0.5163 GB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.4028, allocations: 6.531 kB / 0.5163 GB, free: 25.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000716/0.4035, allocations: 0.681 MB / 0.517 GB, free: 25.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4035, allocations: 0 / 0.517 GB, free: 25.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006998/0.4042, allocations: 244.4 kB / 0.5172 GB, free: 25.31 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * 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.002693/0.4069, allocations: 0.7614 MB / 0.5179 GB, free: 25.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.4085, allocations: 0.8542 MB / 0.5188 GB, free: 24.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.4085, allocations: 2.031 kB / 0.5188 GB, free: 24.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.4089, allocations: 245.1 kB / 0.519 GB, free: 24.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.4094, allocations: 95.05 kB / 0.5191 GB, free: 24.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.4114, allocations: 1.382 MB / 0.5205 GB, free: 24.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.4117, allocations: 338 kB / 0.5208 GB, free: 23.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.4119, allocations: 46.81 kB / 0.5208 GB, free: 23.94 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4119, allocations: 0 / 0.5208 GB, free: 23.94 MB / 382.1 MB Notification: Performance of Templates: time 0.02041/0.4323, allocations: 11.72 MB / 0.5323 GB, free: 20.71 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.719184031710029] Failed to read output from testmodel.py, exit status != 0: 0.4404443181119859 0.452265757 0.30616838900000004 Calling exit ...