Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.0014/0.0014, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.001691/0.001691, allocations: 173.6 kB / 22.46 MB, free: 5.359 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04247/0.04247, allocations: 6.505 MB / 265.7 MB, free: 10.28 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 392.2 MB, free: 9.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.543e-05, allocations: 2.281 kB / 392.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.01003/0.01006, allocations: 3.524 MB / 395.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00599/0.01605, allocations: 1.885 MB / 397.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.01644, allocations: 19.88 kB / 397.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.01718, allocations: 206.8 kB / 397.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.01836, allocations: 282.3 kB / 398.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.01995, allocations: 414.7 kB / 398.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.02125, allocations: 0.6469 MB / 399.1 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.02171, allocations: 147.2 kB / 399.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008354/0.02254, allocations: 375 kB / 399.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006016/0.02314, allocations: 239.3 kB / 399.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.02327, allocations: 52 kB / 399.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.02363, allocations: 119.8 kB / 400 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.02398, allocations: 219.3 kB / 400.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003786/0.02435, allocations: 195.3 kB / 400.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.02602, allocations: 0.8489 MB / 401.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.02602, allocations: 0 / 401.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.02603, allocations: 0 / 401.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.02604, allocations: 0 / 401.3 MB, free: 0.5664 MB / 318.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.003033/0.02907, allocations: 1.035 MB / 402.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.02912, allocations: 12.03 kB / 402.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.0294, allocations: 84.38 kB / 402.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.03093, allocations: 0.5333 MB / 402.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.793e-05/0.03099, allocations: 29.36 kB / 403 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.0311, allocations: 48.33 kB / 403 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.03262, allocations: 446.4 kB / 403.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.03265, allocations: 3.938 kB / 403.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.03272, allocations: 16 kB / 403.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.03274, allocations: 8 kB / 403.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.03422, allocations: 307.7 kB / 403.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004498/0.03872, allocations: 1.434 MB / 405.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.0404, allocations: 314.6 kB / 405.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/0.04105, allocations: 116.8 kB / 405.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.827e-05/0.0411, allocations: 7.984 kB / 405.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008523/0.04196, allocations: 179.3 kB / 405.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 3.457e-06/0.04196, allocations: 0 / 405.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.002612/0.04457, allocations: 468.7 kB / 406.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/0.04467, allocations: 81.11 kB / 406.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.04697, allocations: 0.9377 MB / 407.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.04703, allocations: 33.7 kB / 407.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005421/0.04757, allocations: 348.6 kB / 407.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.04772, allocations: 91.39 kB / 407.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.04794, allocations: 77.64 kB / 407.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003213/0.04826, allocations: 382.7 kB / 408.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/0.04904, allocations: 162.4 kB / 408.4 MB, free: 9.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000871/0.04991, allocations: 266.8 kB / 408.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.05145, allocations: 352.2 kB / 409 MB, free: 8.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.05145, allocations: 0 / 409 MB, free: 8.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002228/0.05368, allocations: 0.5086 MB / 409.5 MB, free: 8.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.05374, allocations: 41.72 kB / 409.5 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.05375, allocations: 0 / 409.5 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.05407, allocations: 24.84 kB / 409.5 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.0547, allocations: 71.89 kB / 409.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.05687, allocations: 1.256 MB / 410.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/0.05749, allocations: 51.75 kB / 410.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.05754, allocations: 12 kB / 410.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001177/0.05871, allocations: 369.7 kB / 411.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008255/0.05954, allocations: 243 kB / 411.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001436/0.06098, allocations: 343.8 kB / 411.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/0.06098, allocations: 0 / 411.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001972/0.06295, allocations: 0.493 MB / 412.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.06301, allocations: 33.69 kB / 412.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.06302, allocations: 4 kB / 412.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.06318, allocations: 25.08 kB / 412.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.06371, allocations: 67.89 kB / 412.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.06565, allocations: 1.243 MB / 413.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.06623, allocations: 47.75 kB / 413.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.06627, allocations: 16.16 kB / 413.8 MB, free: 3.383 MB / 334.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.0002714/0.06655, allocations: 204.8 kB / 414 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.06671, allocations: 67.56 kB / 414.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.06851, allocations: 372.1 kB / 414.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.06852, allocations: 4 kB / 414.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.06852, allocations: 0 / 414.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.06853, allocations: 4 kB / 414.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000858/0.06939, allocations: 389 kB / 414.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.06939, allocations: 4 kB / 414.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.06996, allocations: 51.89 kB / 414.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.07009, allocations: 20.84 kB / 414.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.07013, allocations: 8 kB / 414.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.07176, allocations: 1.26 MB / 416.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.07176, allocations: 3.938 kB / 416.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.07381, allocations: 0.5214 MB / 416.7 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.07403, allocations: 87.53 kB / 416.8 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.07412, allocations: 4 kB / 416.8 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.07451, allocations: 27.97 kB / 416.8 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.07464, allocations: 27.89 kB / 416.8 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.07467, allocations: 8 kB / 416.8 MB, free: 168 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001409/0.07608, allocations: 0.663 MB / 417.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.07608, allocations: 4 kB / 417.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001011/0.07709, allocations: 219.4 kB / 417.7 MB, free: 15.29 MB / 350.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.003185/0.08028, allocations: 0.6394 MB / 418.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.0827, allocations: 0.8415 MB / 419.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.08271, allocations: 0 / 419.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006173/0.08332, allocations: 246.7 kB / 419.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.08387, allocations: 109.2 kB / 419.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.08612, allocations: 1.264 MB / 420.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.08651, allocations: 338 kB / 421.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.08674, allocations: 92.22 kB / 421.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.08687, allocations: 40.48 kB / 421.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.08687, allocations: 0 / 421.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of Templates: time 0.01541/0.1023, allocations: 6.92 MB / 428.2 MB, free: 5.051 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6771027855575085] Failed to read output from testmodel.py, exit status != 0: 0.11313285306096077 0.126504848 0.09715884500000001 Calling exit ...