Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.001574/0.001574, allocations: 115.5 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.001669/0.001669, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.508/1.508, 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.0451/0.0451, allocations: 8.544 MB / 314.7 MB, free: 292 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 63.91 kB / 438.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1277, allocations: 54.21 MB / 492.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006086/0.1338, allocations: 3.875 MB / 496.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.1369, allocations: 1.8 MB / 498.5 MB, free: 452 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.1373, allocations: 11.94 kB / 498.6 MB, free: 440 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.1378, allocations: 210.9 kB / 498.8 MB, free: 228 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005764/0.1383, allocations: 234.8 kB / 499 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008333/0.1392, allocations: 377.9 kB / 499.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007556/0.1399, allocations: 0.6627 MB / 0.4883 GB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004649/0.1404, allocations: 241.2 kB / 0.4885 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.1408, allocations: 278.9 kB / 0.4888 GB, free: 14.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.1412, allocations: 338.6 kB / 0.4891 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-05/0.1413, allocations: 60 kB / 0.4892 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.1415, allocations: 127.9 kB / 0.4893 GB, free: 13.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.1418, allocations: 223.2 kB / 0.4895 GB, free: 13.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.1421, allocations: 377.8 kB / 0.4899 GB, free: 13.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1432, allocations: 0.9181 MB / 0.4908 GB, free: 12.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1432, allocations: 0 / 0.4908 GB, free: 12.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1432, allocations: 0 / 0.4908 GB, free: 12.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1432, allocations: 0 / 0.4908 GB, free: 12.41 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001983/0.1452, allocations: 1.161 MB / 0.4919 GB, free: 11.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1452, allocations: 11.89 kB / 0.4919 GB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.1454, allocations: 96.33 kB / 0.492 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008847/0.1463, allocations: 0.5982 MB / 0.4926 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.1463, allocations: 40.94 kB / 0.4926 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.1464, allocations: 48 kB / 0.4927 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009618/0.1474, allocations: 487.8 kB / 0.4931 GB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.1474, allocations: 3.953 kB / 0.4931 GB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.1474, allocations: 16 kB / 0.4932 GB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.1475, allocations: 12 kB / 0.4932 GB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009202/0.1484, allocations: 359.7 kB / 0.4935 GB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.1512, allocations: 1.855 MB / 0.4953 GB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.152, allocations: 326.7 kB / 0.4956 GB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.1524, allocations: 132.8 kB / 0.4958 GB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1524, allocations: 8 kB / 0.4958 GB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.1529, allocations: 195.2 kB / 0.496 GB, free: 6.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.1529, allocations: 0 / 0.496 GB, free: 6.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001819/0.1547, allocations: 0.644 MB / 0.4966 GB, free: 6.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1548, allocations: 59.41 kB / 0.4966 GB, free: 6.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.1559, allocations: 0.9221 MB / 0.4975 GB, free: 5.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.156, allocations: 33.7 kB / 0.4976 GB, free: 5.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.1563, allocations: 372.4 kB / 0.4979 GB, free: 4.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.1564, allocations: 107.2 kB / 0.498 GB, free: 4.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1565, allocations: 90.02 kB / 0.4981 GB, free: 4.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1567, allocations: 382.8 kB / 0.4985 GB, free: 4.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.1571, allocations: 136.7 kB / 0.4986 GB, free: 4.082 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.1576, allocations: 211.1 kB / 0.4988 GB, free: 3.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.1584, allocations: 364.2 kB / 0.4992 GB, free: 3.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1584, allocations: 3.938 kB / 0.4992 GB, free: 3.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001209/0.1596, allocations: 0.5344 MB / 0.4997 GB, free: 2.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.1596, allocations: 33.7 kB / 0.4997 GB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1596, allocations: 0 / 0.4997 GB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.1598, allocations: 68.97 kB / 0.4998 GB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.1602, allocations: 75.89 kB / 0.4999 GB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.1622, allocations: 1.818 MB / 0.5016 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.1625, allocations: 55.73 kB / 0.5017 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.1626, allocations: 16 kB / 0.5017 GB, free: 0.7031 MB / 366.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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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.000377/0.1629, allocations: 266.2 kB / 0.502 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-05/0.163, allocations: 67.58 kB / 0.502 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.1641, allocations: 441.3 kB / 0.5024 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1642, allocations: 4 kB / 0.5025 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1642, allocations: 0 / 0.5025 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1642, allocations: 0 / 0.5025 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.1649, allocations: 0.579 MB / 0.503 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.1649, allocations: 7.984 kB / 0.503 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.1652, allocations: 48.09 kB / 0.5031 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/0.1654, allocations: 64.81 kB / 0.5031 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.1654, allocations: 4 kB / 0.5031 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.1673, allocations: 1.81 MB / 0.5049 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1673, allocations: 0 / 0.5049 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.1688, allocations: 0.5851 MB / 0.5055 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.169, allocations: 164.7 kB / 0.5056 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.169, allocations: 8 kB / 0.5056 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.1693, allocations: 23.97 kB / 0.5057 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/0.1694, allocations: 31.98 kB / 0.5057 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.1694, allocations: 12.17 kB / 0.5057 GB, free: 12.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008995/0.1703, allocations: 0.6591 MB / 0.5063 GB, free: 11.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1703, allocations: 0 / 0.5063 GB, free: 11.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006673/0.171, allocations: 143.6 kB / 0.5065 GB, free: 11.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.002673/0.1736, allocations: 0.6102 MB / 0.5071 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.1752, allocations: 498.1 kB / 0.5076 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1752, allocations: 4 kB / 0.5076 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006256/0.1758, allocations: 282.9 kB / 0.5078 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.1765, allocations: 90.14 kB / 0.5079 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.1792, allocations: 1.423 MB / 0.5093 GB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008894/0.1801, allocations: 0.9596 MB / 0.5102 GB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002692/0.1804, allocations: 80.34 kB / 0.5103 GB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.1805, allocations: 35.44 kB / 0.5104 GB, free: 7.781 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.1805, allocations: 0 / 0.5104 GB, free: 7.781 MB / 382.1 MB Notification: Performance of Templates: time 0.01695/0.1975, allocations: 6.999 MB / 0.5172 GB, free: 0.7969 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.097755556926131] Failed to read output from testmodel.py, exit status != 0: 0.44098052475601435 0.454173182 0.308512342 Calling exit ...