Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001501/0.001501, 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.001501/0.001501, allocations: 215.6 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.467/1.467, 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 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.04309/0.04309, allocations: 8.549 MB / 321.7 MB, free: 10.43 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_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.002115/0.002115, allocations: 71.89 kB / 448.1 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1188, allocations: 55.42 MB / 0.4917 GB, free: 7.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.006133/0.125, allocations: 3.505 MB / 0.4951 GB, free: 4.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003499/0.1285, allocations: 1.881 MB / 0.497 GB, free: 2.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.1288, allocations: 7.938 kB / 0.497 GB, free: 2.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.1293, allocations: 198.9 kB / 0.4972 GB, free: 2.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007513/0.1301, allocations: 286.6 kB / 0.4975 GB, free: 1.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000925/0.131, allocations: 408.7 kB / 0.4978 GB, free: 1.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008285/0.1318, allocations: 0.6432 MB / 0.4985 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.1321, allocations: 147.1 kB / 0.4986 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.1325, allocations: 259 kB / 0.4989 GB, free: 332 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004592/0.1329, allocations: 302.6 kB / 0.4991 GB, free: 28 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.133, allocations: 56.05 kB / 0.4992 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.1334, allocations: 179.8 kB / 0.4994 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.1336, allocations: 223.3 kB / 0.4996 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.1339, allocations: 258.4 kB / 0.4998 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.1351, allocations: 0.9494 MB / 0.5008 GB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1351, allocations: 0 / 0.5008 GB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1351, allocations: 0 / 0.5008 GB, free: 14.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1351, allocations: 0 / 0.5008 GB, free: 14.37 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.002047/0.1372, allocations: 1.067 MB / 0.5018 GB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1372, allocations: 12.03 kB / 0.5018 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1374, allocations: 84.38 kB / 0.5019 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.1384, allocations: 0.5419 MB / 0.5024 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.1384, allocations: 33.06 kB / 0.5025 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/0.1385, allocations: 47.95 kB / 0.5025 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009813/0.1395, allocations: 499.5 kB / 0.503 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.1395, allocations: 7.922 kB / 0.503 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.1395, allocations: 16 kB / 0.503 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.1395, allocations: 8 kB / 0.503 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.1404, allocations: 307.8 kB / 0.5033 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.143, allocations: 1.453 MB / 0.5047 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009399/0.1439, allocations: 315 kB / 0.505 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.1442, allocations: 112.8 kB / 0.5051 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.1443, allocations: 4 kB / 0.5051 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004814/0.1448, allocations: 183.1 kB / 0.5053 GB, free: 9.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.375e-06/0.1448, allocations: 4 kB / 0.5053 GB, free: 9.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001478/0.1462, allocations: 473.3 kB / 0.5058 GB, free: 9.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.1463, allocations: 140.5 kB / 0.5059 GB, free: 8.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.1477, allocations: 0.9533 MB / 0.5068 GB, free: 7.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.1477, allocations: 33.7 kB / 0.5069 GB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/0.1481, allocations: 356.6 kB / 0.5072 GB, free: 7.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.1482, allocations: 83.33 kB / 0.5073 GB, free: 7.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.1483, allocations: 69.7 kB / 0.5073 GB, free: 7.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.1486, allocations: 382.8 kB / 0.5077 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.149, allocations: 162.5 kB / 0.5079 GB, free: 6.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.1495, allocations: 340 kB / 0.5082 GB, free: 6.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007955/0.1503, allocations: 348.5 kB / 0.5085 GB, free: 6.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1503, allocations: 0 / 0.5085 GB, free: 6.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001278/0.1516, allocations: 0.5164 MB / 0.509 GB, free: 5.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.309e-05/0.1517, allocations: 41.69 kB / 0.5091 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1517, allocations: 0 / 0.5091 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.1519, allocations: 24.73 kB / 0.5091 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.1522, allocations: 83.88 kB / 0.5092 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.1536, allocations: 1.252 MB / 0.5104 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/0.154, allocations: 51.78 kB / 0.5104 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.154, allocations: 12 kB / 0.5105 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008044/0.1548, allocations: 373.6 kB / 0.5108 GB, free: 3.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005134/0.1553, allocations: 317 kB / 0.5111 GB, free: 3.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000721/0.1561, allocations: 328.1 kB / 0.5114 GB, free: 2.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.262e-06/0.1561, allocations: 4 kB / 0.5114 GB, free: 2.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001222/0.1573, allocations: 0.4928 MB / 0.5119 GB, free: 2.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.1573, allocations: 45.62 kB / 0.512 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1573, allocations: 4 kB / 0.512 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.587e-05/0.1574, allocations: 12.86 kB / 0.512 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.1577, allocations: 79.88 kB / 0.512 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.1589, allocations: 1.252 MB / 0.5133 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.1593, allocations: 47.75 kB / 0.5133 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.1593, allocations: 12 kB / 0.5133 GB, free: 0.7734 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.0002485/0.1596, allocations: 200.2 kB / 0.5135 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.1597, allocations: 63.58 kB / 0.5136 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.1608, allocations: 388.3 kB / 0.5139 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.1608, allocations: 8.031 kB / 0.514 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1608, allocations: 0 / 0.514 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1608, allocations: 0 / 0.514 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3119/0.4726, allocations: 401.8 kB / 0.5143 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.4727, allocations: 0 / 0.5143 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.4731, allocations: 57.45 kB / 0.5144 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/0.4733, allocations: 23.52 kB / 0.5144 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.4733, allocations: 7.312 kB / 0.5144 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00091/0.4742, allocations: 1.241 MB / 0.5156 GB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4742, allocations: 1.25 kB / 0.5156 GB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.4761, allocations: 0.5278 MB / 0.5162 GB, free: 25.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.4764, allocations: 88.05 kB / 0.5162 GB, free: 25.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.4765, allocations: 6.047 kB / 0.5162 GB, free: 25.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.4769, allocations: 33.27 kB / 0.5163 GB, free: 25.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.477, allocations: 23.3 kB / 0.5163 GB, free: 25.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.477, allocations: 5.922 kB / 0.5163 GB, free: 25.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.4781, allocations: 0.6829 MB / 0.517 GB, free: 25.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4781, allocations: 1.219 kB / 0.517 GB, free: 25.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00109/0.4792, allocations: 241.3 kB / 0.5172 GB, free: 25.33 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.003524/0.4827, allocations: 0.7513 MB / 0.5179 GB, free: 25.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.4846, allocations: 0.8606 MB / 0.5188 GB, free: 24.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4846, allocations: 1.312 kB / 0.5188 GB, free: 24.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.485, allocations: 243 kB / 0.519 GB, free: 24.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.4856, allocations: 105.4 kB / 0.5191 GB, free: 24.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.4879, allocations: 1.38 MB / 0.5205 GB, free: 24.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.4883, allocations: 333.5 kB / 0.5208 GB, free: 23.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.4884, allocations: 41.75 kB / 0.5208 GB, free: 23.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4884, allocations: 6.281 kB / 0.5208 GB, free: 23.96 MB / 382.1 MB Notification: Performance of Templates: time 0.02021/0.5086, allocations: 11.72 MB / 0.5323 GB, free: 20.73 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.859897982794791] Failed to read output from testmodel.py, exit status != 0: 0.5173631310462952 0.532605573 0.39474231699999995 Calling exit ...