Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.001423/0.001423, allocations: 113 kB / 17.08 MB, free: 5.789 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.001433/0.001433, allocations: 191.7 kB / 20.03 MB, free: 2.906 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.321/1.321, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] 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.1282/0.1282, allocations: 8.41 MB / 306.3 MB, free: 2.711 MB / 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 64.08 kB / 423.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2073, allocations: 51.37 MB / 474.6 MB, free: 20.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004212/0.2116, allocations: 3.745 MB / 478.3 MB, free: 17.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.213, allocations: 1.074 MB / 479.4 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.2132, allocations: 7.281 kB / 479.4 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.2136, allocations: 207.8 kB / 479.6 MB, free: 16.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.214, allocations: 219.3 kB / 479.8 MB, free: 16.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.2146, allocations: 357.9 kB / 480.2 MB, free: 16.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004869/0.2151, allocations: 0.6357 MB / 480.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.2154, allocations: 266.7 kB / 481.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.2157, allocations: 260.9 kB / 481.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.2159, allocations: 296.3 kB / 481.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.216, allocations: 55 kB / 481.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.2162, allocations: 116.2 kB / 481.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.2164, allocations: 221.4 kB / 482 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.2166, allocations: 339.4 kB / 482.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.2173, allocations: 0.8756 MB / 483.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2174, allocations: 3.984 kB / 483.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2174, allocations: 0 / 483.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.2174, allocations: 1.312 kB / 483.2 MB, free: 14.28 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001463/0.2189, allocations: 1.113 MB / 484.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2189, allocations: 14.2 kB / 484.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.2191, allocations: 87.06 kB / 484.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.2197, allocations: 0.5915 MB / 485 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.2197, allocations: 36.95 kB / 485 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.2198, allocations: 44.75 kB / 485.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/0.2205, allocations: 435.1 kB / 485.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.2205, allocations: 2.188 kB / 485.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.2206, allocations: 15.12 kB / 485.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2206, allocations: 9.812 kB / 485.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006973/0.2213, allocations: 312.3 kB / 485.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.2232, allocations: 1.749 MB / 487.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.224, allocations: 321.5 kB / 487.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.2242, allocations: 117.8 kB / 488 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.2243, allocations: 6.703 kB / 488 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003774/0.2247, allocations: 189.2 kB / 488.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.824e-06/0.2247, allocations: 0 / 488.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001449/0.2261, allocations: 0.6072 MB / 488.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.2262, allocations: 66.69 kB / 488.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009246/0.2271, allocations: 0.9185 MB / 489.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2271, allocations: 32.33 kB / 489.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.2273, allocations: 345 kB / 490.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.2274, allocations: 94.12 kB / 490.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.2275, allocations: 71.31 kB / 490.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.2276, allocations: 378.6 kB / 490.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.2279, allocations: 136.3 kB / 490.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.2282, allocations: 188.5 kB / 491 MB, free: 8.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005865/0.2288, allocations: 345.4 kB / 491.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2288, allocations: 1.375 kB / 491.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009123/0.2297, allocations: 0.5186 MB / 491.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.2298, allocations: 32.89 kB / 491.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2298, allocations: 1.562 kB / 491.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.2301, allocations: 61.25 kB / 492 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.2303, allocations: 69.05 kB / 492 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.2316, allocations: 1.82 MB / 493.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.2319, allocations: 48.16 kB / 493.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.2319, allocations: 15 kB / 493.9 MB, free: 6.23 MB / 350.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 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002589/0.2322, allocations: 267.1 kB / 494.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.2323, allocations: 76.45 kB / 494.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008309/0.2331, allocations: 394.6 kB / 494.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2331, allocations: 6.906 kB / 494.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2331, allocations: 0 / 494.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2332, allocations: 0 / 494.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.2336, allocations: 0.5443 MB / 495.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2336, allocations: 0 / 495.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.2339, allocations: 40.47 kB / 495.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001743/0.234, allocations: 62.69 kB / 495.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.2341, allocations: 6.719 kB / 495.3 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.2353, allocations: 1.818 MB / 497.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2353, allocations: 0 / 497.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.2366, allocations: 0.548 MB / 497.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.2368, allocations: 162.2 kB / 497.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.2369, allocations: 6.125 kB / 497.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.2371, allocations: 18.64 kB / 497.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2372, allocations: 27.67 kB / 497.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.2372, allocations: 4.625 kB / 497.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007495/0.238, allocations: 0.6615 MB / 498.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.238, allocations: 0 / 498.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005462/0.2385, allocations: 135.3 kB / 498.7 MB, free: 2.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002138/0.2407, allocations: 0.611 MB / 499.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009573/0.2416, allocations: 486.2 kB / 499.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2417, allocations: 0 / 499.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.2421, allocations: 262.7 kB / 0.4883 GB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.2426, allocations: 97.94 kB / 0.4884 GB, free: 1.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.2444, allocations: 1.384 MB / 0.4897 GB, free: 0.9297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.2447, allocations: 0.9396 MB / 0.4906 GB, free: 44 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.2448, allocations: 39.44 kB / 0.4907 GB, free: 4 kB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2448, allocations: 0 / 0.4907 GB, free: 4 kB / 350.1 MB Notification: Performance of Templates: time 0.01414/0.2589, allocations: 10.65 MB / 0.5011 GB, free: 5.348 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.163431136868894] Failed to read output from testmodel.py, exit status != 0: 0.26590268104337156 0.27788222900000004 0.058150675000000006 Calling exit ...