Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.00188/0.00188, allocations: 110 kB / 18.93 MB, free: 2.945 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.00235/0.00235, allocations: 192 kB / 22.23 MB, free: 5.16 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.531/1.531, allocations: 225.6 MB / 251 MB, free: 13.02 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.04431/0.04431, allocations: 8.545 MB / 314.8 MB, free: 180 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_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 71.89 kB / 438.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1317, allocations: 54.26 MB / 493.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.007686/0.1394, allocations: 3.711 MB / 496.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.1429, allocations: 1.796 MB / 498.7 MB, free: 332 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004947/0.1434, allocations: 11.94 kB / 498.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.1441, allocations: 202.9 kB / 498.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009144/0.145, allocations: 226.8 kB / 499.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1462, allocations: 409 kB / 499.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1472, allocations: 0.6275 MB / 0.4884 GB, free: 14.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004111/0.1476, allocations: 155.2 kB / 0.4886 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005509/0.1481, allocations: 251 kB / 0.4888 GB, free: 14.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005894/0.1487, allocations: 306.6 kB / 0.4891 GB, free: 14.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.1489, allocations: 52 kB / 0.4892 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.1492, allocations: 108 kB / 0.4893 GB, free: 14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.1494, allocations: 215.3 kB / 0.4895 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.1498, allocations: 330 kB / 0.4898 GB, free: 13.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.1511, allocations: 0.8481 MB / 0.4906 GB, free: 12.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1511, allocations: 0 / 0.4906 GB, free: 12.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1511, allocations: 0 / 0.4906 GB, free: 12.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.738e-05/0.1512, allocations: 3.984 kB / 0.4906 GB, free: 12.61 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.00247/0.1536, allocations: 1.019 MB / 0.4916 GB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1537, allocations: 16.02 kB / 0.4916 GB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.1539, allocations: 80.42 kB / 0.4917 GB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.1549, allocations: 0.5107 MB / 0.4922 GB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.1549, allocations: 32.94 kB / 0.4922 GB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.155, allocations: 43.89 kB / 0.4923 GB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.156, allocations: 420.7 kB / 0.4927 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.156, allocations: 0 / 0.4927 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.1561, allocations: 12 kB / 0.4927 GB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1561, allocations: 8 kB / 0.4927 GB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009698/0.1571, allocations: 315.7 kB / 0.493 GB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.1601, allocations: 1.62 MB / 0.4946 GB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.1612, allocations: 318.7 kB / 0.4949 GB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.1615, allocations: 116.8 kB / 0.495 GB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.1616, allocations: 7.984 kB / 0.495 GB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005324/0.1621, allocations: 179.1 kB / 0.4952 GB, free: 7.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 3.136e-06/0.1621, allocations: 4 kB / 0.4952 GB, free: 7.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001661/0.1638, allocations: 473.5 kB / 0.4956 GB, free: 7.285 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.1638, allocations: 85.11 kB / 0.4957 GB, free: 7.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.1652, allocations: 0.9221 MB / 0.4966 GB, free: 6.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.1652, allocations: 29.7 kB / 0.4966 GB, free: 6.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.1655, allocations: 336.3 kB / 0.497 GB, free: 5.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1656, allocations: 91.3 kB / 0.497 GB, free: 5.797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.1658, allocations: 73.69 kB / 0.4971 GB, free: 5.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.166, allocations: 382.8 kB / 0.4975 GB, free: 5.336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.1664, allocations: 140.7 kB / 0.4976 GB, free: 5.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.1669, allocations: 211.5 kB / 0.4978 GB, free: 4.961 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008674/0.1678, allocations: 348.6 kB / 0.4981 GB, free: 4.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1678, allocations: 0 / 0.4981 GB, free: 4.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001249/0.169, allocations: 488.1 kB / 0.4986 GB, free: 4.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.1691, allocations: 41.62 kB / 0.4987 GB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1691, allocations: 0 / 0.4987 GB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.1693, allocations: 25.08 kB / 0.4987 GB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.1696, allocations: 87.81 kB / 0.4988 GB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.1709, allocations: 1.264 MB / 0.5 GB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.1713, allocations: 55.7 kB / 0.5 GB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.1713, allocations: 19.92 kB / 0.5001 GB, free: 2.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006622/0.172, allocations: 336.1 kB / 0.5004 GB, free: 2.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004152/0.1724, allocations: 191.6 kB / 0.5006 GB, free: 1.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007598/0.1732, allocations: 335.9 kB / 0.5009 GB, free: 1.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.205e-06/0.1732, allocations: 0 / 0.5009 GB, free: 1.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001113/0.1743, allocations: 463.1 kB / 0.5013 GB, free: 1.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.1743, allocations: 37.92 kB / 0.5014 GB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.006e-06/0.1743, allocations: 7.938 kB / 0.5014 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.1744, allocations: 20.84 kB / 0.5014 GB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.1747, allocations: 71.89 kB / 0.5015 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.1759, allocations: 1.281 MB / 0.5027 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.1762, allocations: 31.91 kB / 0.5027 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.1763, allocations: 19.98 kB / 0.5028 GB, free: 15.52 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.0002016/0.1765, allocations: 209.7 kB / 0.503 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.1766, allocations: 67.53 kB / 0.503 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.1778, allocations: 382.9 kB / 0.5034 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.1778, allocations: 0 / 0.5034 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1778, allocations: 0 / 0.5034 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1778, allocations: 0 / 0.5034 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000813/0.1786, allocations: 0.4963 MB / 0.5039 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1786, allocations: 0 / 0.5039 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.1789, allocations: 55.89 kB / 0.5039 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.641e-05/0.179, allocations: 24.84 kB / 0.504 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.179, allocations: 4 kB / 0.504 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.1802, allocations: 1.271 MB / 0.5052 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1802, allocations: 0 / 0.5052 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.1816, allocations: 0.5211 MB / 0.5057 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.1817, allocations: 75.61 kB / 0.5058 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.1818, allocations: 8 kB / 0.5058 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.1821, allocations: 23.97 kB / 0.5058 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.1822, allocations: 27.89 kB / 0.5058 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1822, allocations: 12 kB / 0.5059 GB, free: 12.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009242/0.1831, allocations: 0.6669 MB / 0.5065 GB, free: 11.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1831, allocations: 0 / 0.5065 GB, free: 11.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007974/0.1839, allocations: 219.4 kB / 0.5067 GB, free: 11.28 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.002526/0.1865, allocations: 0.5951 MB / 0.5073 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.1886, allocations: 0.7918 MB / 0.5081 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.1886, allocations: 4.062 kB / 0.5081 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.1892, allocations: 246.5 kB / 0.5083 GB, free: 9.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.1899, allocations: 90.02 kB / 0.5084 GB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.1928, allocations: 1.328 MB / 0.5097 GB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008122/0.1936, allocations: 0.9404 MB / 0.5106 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003427/0.194, allocations: 88.2 kB / 0.5107 GB, free: 7.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.1941, allocations: 39.44 kB / 0.5107 GB, free: 7.309 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.1941, allocations: 0 / 0.5107 GB, free: 7.309 MB / 382.1 MB Notification: Performance of Templates: time 0.01617/0.2103, allocations: 6.894 MB / 0.5175 GB, free: 448 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.258331351913512] Failed to read output from testmodel.py, exit status != 0: 0.43191675934940577 0.443877106 0.290280064 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f60b91dd7b0>