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.00136/0.00136, allocations: 114.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.001419/0.001419, allocations: 194.2 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.482/1.482, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.04481/0.04481, allocations: 8.528 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.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.001958/0.001958, allocations: 55.91 kB / 438.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1213, allocations: 54.2 MB / 492.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.006068/0.1273, allocations: 3.707 MB / 496.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.1304, allocations: 1.792 MB / 498.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.1307, allocations: 11.94 kB / 498.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.1312, allocations: 198.9 kB / 498.6 MB, free: 444 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005854/0.1318, allocations: 238.8 kB / 498.8 MB, free: 204 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.1328, allocations: 396.4 kB / 499.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009173/0.1337, allocations: 0.616 MB / 499.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.1341, allocations: 166.7 kB / 500 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/0.1344, allocations: 246.9 kB / 0.4885 GB, free: 14.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.1349, allocations: 306.7 kB / 0.4888 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-05/0.135, allocations: 48 kB / 0.4888 GB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.1352, allocations: 112 kB / 0.4889 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.1355, allocations: 211.3 kB / 0.4891 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.1358, allocations: 322 kB / 0.4894 GB, free: 13.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.1369, allocations: 0.852 MB / 0.4903 GB, free: 12.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1369, allocations: 0 / 0.4903 GB, free: 12.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1369, allocations: 3.938 kB / 0.4903 GB, free: 12.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.1369, allocations: 0 / 0.4903 GB, free: 12.94 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.002133/0.1391, allocations: 1.095 MB / 0.4913 GB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.1391, allocations: 19.89 kB / 0.4914 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.1393, allocations: 84.41 kB / 0.4914 GB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009522/0.1403, allocations: 0.5866 MB / 0.492 GB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.1403, allocations: 28.94 kB / 0.492 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/0.1404, allocations: 47.94 kB / 0.4921 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008929/0.1413, allocations: 408.7 kB / 0.4925 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.1413, allocations: 11.92 kB / 0.4925 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.1413, allocations: 16 kB / 0.4925 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.1414, allocations: 8 kB / 0.4925 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008554/0.1422, allocations: 307.8 kB / 0.4928 GB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.145, allocations: 1.676 MB / 0.4944 GB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009724/0.146, allocations: 314.8 kB / 0.4947 GB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.1464, allocations: 119 kB / 0.4948 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.1464, allocations: 4 kB / 0.4949 GB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/0.1469, allocations: 183.1 kB / 0.495 GB, free: 7.844 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.284e-06/0.1469, allocations: 0 / 0.495 GB, free: 7.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001609/0.1485, allocations: 0.5483 MB / 0.4956 GB, free: 7.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.1486, allocations: 85.11 kB / 0.4956 GB, free: 7.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.1498, allocations: 0.9144 MB / 0.4965 GB, free: 6.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.1499, allocations: 37.64 kB / 0.4966 GB, free: 6.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.1502, allocations: 340.3 kB / 0.4969 GB, free: 5.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.823e-05/0.1503, allocations: 87.36 kB / 0.497 GB, free: 5.781 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.1505, allocations: 69.69 kB / 0.497 GB, free: 5.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.1507, allocations: 378.8 kB / 0.4974 GB, free: 5.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.1511, allocations: 148.7 kB / 0.4975 GB, free: 5.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.1515, allocations: 203.5 kB / 0.4977 GB, free: 4.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/0.1524, allocations: 352.6 kB / 0.4981 GB, free: 4.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1524, allocations: 4 kB / 0.4981 GB, free: 4.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001137/0.1535, allocations: 483.3 kB / 0.4985 GB, free: 4.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/0.1536, allocations: 37.58 kB / 0.4986 GB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.1536, allocations: 7.984 kB / 0.4986 GB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.1538, allocations: 20.86 kB / 0.4986 GB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.1541, allocations: 84.09 kB / 0.4987 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.1554, allocations: 1.379 MB / 0.5 GB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.1558, allocations: 47.77 kB / 0.5001 GB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.1558, allocations: 19.92 kB / 0.5001 GB, free: 2.344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007924/0.1566, allocations: 332 kB / 0.5004 GB, free: 2.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004024/0.157, allocations: 199.6 kB / 0.5006 GB, free: 1.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007228/0.1577, allocations: 331.9 kB / 0.5009 GB, free: 1.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.1577, allocations: 0 / 0.5009 GB, free: 1.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001044/0.1588, allocations: 470.8 kB / 0.5014 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.1588, allocations: 36.36 kB / 0.5014 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1588, allocations: 4 kB / 0.5014 GB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.566e-05/0.1589, allocations: 25.06 kB / 0.5014 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.1592, allocations: 75.89 kB / 0.5015 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.1605, allocations: 1.375 MB / 0.5028 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.1608, allocations: 31.91 kB / 0.5029 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.1608, allocations: 19.98 kB / 0.5029 GB, free: 15.25 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.0002552/0.1611, allocations: 213.5 kB / 0.5031 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.1612, allocations: 67.53 kB / 0.5032 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1623, allocations: 364 kB / 0.5035 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1623, allocations: 4 kB / 0.5035 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1623, allocations: 4 kB / 0.5035 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1623, allocations: 0 / 0.5035 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007748/0.1631, allocations: 0.5323 MB / 0.504 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1631, allocations: 3.938 kB / 0.504 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.1634, allocations: 55.89 kB / 0.5041 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.634e-05/0.1635, allocations: 24.84 kB / 0.5041 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.1635, allocations: 0 / 0.5041 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.1648, allocations: 1.372 MB / 0.5055 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1648, allocations: 8.188 kB / 0.5055 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.1662, allocations: 0.5229 MB / 0.506 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.1664, allocations: 160.7 kB / 0.5061 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.1664, allocations: 4 kB / 0.5061 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.1667, allocations: 27.97 kB / 0.5062 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.1668, allocations: 19.97 kB / 0.5062 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.1668, allocations: 11.98 kB / 0.5062 GB, free: 11.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009372/0.1678, allocations: 0.6552 MB / 0.5068 GB, free: 10.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1678, allocations: 4 kB / 0.5068 GB, free: 10.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007519/0.1685, allocations: 219.5 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.002432/0.1709, allocations: 0.6051 MB / 0.5076 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.1729, allocations: 0.7816 MB / 0.5084 GB, free: 9.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.1729, allocations: 0 / 0.5084 GB, free: 9.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.1735, allocations: 250.6 kB / 0.5086 GB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.1741, allocations: 104.7 kB / 0.5087 GB, free: 9.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.1767, allocations: 1.339 MB / 0.51 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/0.1774, allocations: 0.9287 MB / 0.511 GB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003884/0.1778, allocations: 96.19 kB / 0.511 GB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.1779, allocations: 35.44 kB / 0.5111 GB, free: 6.789 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1779, allocations: 8 kB / 0.5111 GB, free: 6.781 MB / 382.1 MB Notification: Performance of Templates: time 0.2486/0.4265, allocations: 6.813 MB / 0.5177 GB, free: 36.5 MB / 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 -s cvode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.049916740041226] Failed to read output from testmodel.py, exit status != 0: 0.4339445731602609 0.44728098800000005 0.307369019 Calling exit ...