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.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.001486/0.001486, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001714/0.001714, allocations: 218.3 kB / 23.01 MB, free: 4.609 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.04164/0.04164, allocations: 8.539 MB / 321.7 MB, free: 10.64 MB / 254.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.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.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: 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.002021/0.002021, allocations: 71.89 kB / 448.2 MB, free: 15.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1112, allocations: 55.4 MB / 0.4918 GB, free: 8.004 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.005976/0.1172, allocations: 3.795 MB / 0.4955 GB, free: 4.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.1205, allocations: 1.94 MB / 0.4974 GB, free: 2.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.1208, allocations: 7.938 kB / 0.4974 GB, free: 2.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.1213, allocations: 210.9 kB / 0.4976 GB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006741/0.122, allocations: 278.6 kB / 0.4979 GB, free: 1.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.123, allocations: 406.7 kB / 0.4983 GB, free: 1.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.1241, allocations: 0.6393 MB / 0.4989 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.1244, allocations: 163.1 kB / 0.499 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004418/0.1249, allocations: 270.9 kB / 0.4993 GB, free: 288 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.1253, allocations: 302.7 kB / 0.4996 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.516e-05/0.1254, allocations: 52 kB / 0.4996 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.1256, allocations: 123.8 kB / 0.4998 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1258, allocations: 211.3 kB / 0.5 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.1261, allocations: 338 kB / 0.5003 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.1272, allocations: 0.8636 MB / 0.5011 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1272, allocations: 0 / 0.5011 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1272, allocations: 0 / 0.5011 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1272, allocations: 0 / 0.5011 GB, free: 14.41 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001852/0.129, allocations: 1.031 MB / 0.5021 GB, free: 13.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1291, allocations: 12.03 kB / 0.5021 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.1292, allocations: 84.38 kB / 0.5022 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008482/0.1301, allocations: 0.5262 MB / 0.5027 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.1301, allocations: 36.92 kB / 0.5028 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/0.1302, allocations: 39.95 kB / 0.5028 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008341/0.131, allocations: 424.7 kB / 0.5032 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.131, allocations: 3.938 kB / 0.5032 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.1311, allocations: 12 kB / 0.5032 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1311, allocations: 8 kB / 0.5032 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008021/0.1319, allocations: 315.7 kB / 0.5035 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.1345, allocations: 1.608 MB / 0.5051 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.1354, allocations: 313.6 kB / 0.5054 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.1358, allocations: 124.4 kB / 0.5055 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.1358, allocations: 4 kB / 0.5055 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/0.1363, allocations: 191 kB / 0.5057 GB, free: 9.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.315e-06/0.1363, allocations: 4 kB / 0.5057 GB, free: 9.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001401/0.1377, allocations: 473.7 kB / 0.5062 GB, free: 9.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.1378, allocations: 81.11 kB / 0.5062 GB, free: 8.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.139, allocations: 0.9379 MB / 0.5072 GB, free: 8.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.139, allocations: 29.7 kB / 0.5072 GB, free: 7.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.1394, allocations: 348.3 kB / 0.5075 GB, free: 7.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.099e-05/0.1394, allocations: 87.27 kB / 0.5076 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.1396, allocations: 77.64 kB / 0.5077 GB, free: 7.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.1398, allocations: 378.8 kB / 0.508 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.1401, allocations: 136.8 kB / 0.5082 GB, free: 6.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.1406, allocations: 211.6 kB / 0.5084 GB, free: 6.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.1413, allocations: 348.5 kB / 0.5087 GB, free: 6.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1413, allocations: 0 / 0.5087 GB, free: 6.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001067/0.1424, allocations: 491.1 kB / 0.5092 GB, free: 5.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.1424, allocations: 41.58 kB / 0.5092 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1425, allocations: 4 kB / 0.5092 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.1426, allocations: 29.06 kB / 0.5092 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.143, allocations: 79.88 kB / 0.5093 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.1441, allocations: 1.275 MB / 0.5106 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.1444, allocations: 47.75 kB / 0.5106 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.1444, allocations: 19.94 kB / 0.5106 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00059/0.145, allocations: 340 kB / 0.511 GB, free: 3.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003685/0.1454, allocations: 196.3 kB / 0.5111 GB, free: 3.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006446/0.146, allocations: 324.2 kB / 0.5115 GB, free: 3.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-06/0.146, allocations: 3.938 kB / 0.5115 GB, free: 3.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009797/0.147, allocations: 470.9 kB / 0.5119 GB, free: 2.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.1471, allocations: 37.92 kB / 0.5119 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.1471, allocations: 0 / 0.5119 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-05/0.1472, allocations: 24.84 kB / 0.512 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.1474, allocations: 79.83 kB / 0.512 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.1485, allocations: 1.271 MB / 0.5133 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.1487, allocations: 43.8 kB / 0.5133 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.1488, allocations: 12 kB / 0.5133 GB, free: 1.254 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.0002171/0.149, allocations: 204.3 kB / 0.5135 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.1491, allocations: 71.53 kB / 0.5136 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.1501, allocations: 379.1 kB / 0.514 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1501, allocations: 0 / 0.514 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.1501, allocations: 0 / 0.514 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.1501, allocations: 3.984 kB / 0.514 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.1508, allocations: 0.5079 MB / 0.5145 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1508, allocations: 4 kB / 0.5145 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2064/0.3572, allocations: 44.62 kB / 0.5145 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.3573, allocations: 22.42 kB / 0.5145 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.3574, allocations: 5.656 kB / 0.5145 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006407/0.358, allocations: 1.265 MB / 0.5158 GB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.358, allocations: 4.656 kB / 0.5158 GB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3592, allocations: 0.5221 MB / 0.5163 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3593, allocations: 86.91 kB / 0.5164 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/0.3594, allocations: 8.625 kB / 0.5164 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.3596, allocations: 28.94 kB / 0.5164 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.3597, allocations: 29.16 kB / 0.5164 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3597, allocations: 6.438 kB / 0.5164 GB, free: 25.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006837/0.3604, allocations: 0.6728 MB / 0.5171 GB, free: 25.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3604, allocations: 0 / 0.5171 GB, free: 25.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005948/0.361, allocations: 214.9 kB / 0.5173 GB, free: 25.46 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.002214/0.3632, allocations: 0.6086 MB / 0.5179 GB, free: 25.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.3646, allocations: 0.794 MB / 0.5187 GB, free: 24.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3646, allocations: 2 kB / 0.5187 GB, free: 24.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.365, allocations: 252.5 kB / 0.5189 GB, free: 24.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.3654, allocations: 100.2 kB / 0.519 GB, free: 24.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.3673, allocations: 1.373 MB / 0.5203 GB, free: 24.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3676, allocations: 0.9337 MB / 0.5213 GB, free: 23.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3677, allocations: 39.88 kB / 0.5213 GB, free: 23.57 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3677, allocations: 2.781 kB / 0.5213 GB, free: 23.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01543/0.3832, allocations: 10.86 MB / 0.5319 GB, free: 20.87 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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.121400710893795] Failed to read output from testmodel.py, exit status != 0: 0.3906778439413756 0.402226023 0.272639665 Calling exit ...