Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001445/0.001445, allocations: 115 kB / 17.08 MB, free: 5.969 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.001457/0.001457, allocations: 193.2 kB / 20.03 MB, free: 3.039 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.341/1.341, allocations: 222.9 MB / 245.7 MB, free: 4.195 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.1456/0.1456, allocations: 8.409 MB / 306.3 MB, free: 2.73 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.89 kB / 423.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2118, allocations: 51.37 MB / 474.6 MB, free: 20.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.004022/0.2159, allocations: 3.64 MB / 478.2 MB, free: 17.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.2178, allocations: 1.702 MB / 479.9 MB, free: 16.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.218, allocations: 6.875 kB / 479.9 MB, free: 16.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.2184, allocations: 192.9 kB / 480.1 MB, free: 16.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.2188, allocations: 233.9 kB / 480.3 MB, free: 16.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.2194, allocations: 400.2 kB / 480.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004853/0.2199, allocations: 0.6218 MB / 481.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.2202, allocations: 225.9 kB / 481.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.2204, allocations: 241.1 kB / 481.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.2207, allocations: 297.7 kB / 482.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.951e-05/0.2208, allocations: 54.91 kB / 482.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.221, allocations: 137.6 kB / 482.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.2212, allocations: 213 kB / 482.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.2214, allocations: 327.7 kB / 482.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006971/0.2221, allocations: 0.8755 MB / 483.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2221, allocations: 5.062 kB / 483.7 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2221, allocations: 0 / 483.7 MB, free: 14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.2221, allocations: 0 / 483.7 MB, free: 14 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001369/0.2235, allocations: 1.099 MB / 484.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2235, allocations: 16.39 kB / 484.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.2237, allocations: 91.67 kB / 484.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.2242, allocations: 0.5794 MB / 485.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.2243, allocations: 32.16 kB / 485.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.2243, allocations: 40.89 kB / 485.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.225, allocations: 438.7 kB / 486 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.2251, allocations: 1.156 kB / 486 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.2251, allocations: 19.66 kB / 486 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2251, allocations: 7.906 kB / 486 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007123/0.2258, allocations: 307.5 kB / 486.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.2277, allocations: 1.697 MB / 488 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.2285, allocations: 326.4 kB / 488.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.2288, allocations: 124 kB / 488.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.2288, allocations: 3.031 kB / 488.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.2292, allocations: 184.2 kB / 488.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.793e-06/0.2292, allocations: 4 kB / 488.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001249/0.2305, allocations: 0.5394 MB / 489.2 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.2305, allocations: 136.3 kB / 489.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008991/0.2314, allocations: 0.9336 MB / 490.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.2315, allocations: 35.73 kB / 490.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.2316, allocations: 340.1 kB / 490.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.2317, allocations: 84.92 kB / 490.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.2318, allocations: 79.95 kB / 490.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.2319, allocations: 378.4 kB / 491.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.2322, allocations: 147 kB / 491.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.2326, allocations: 225.1 kB / 491.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/0.2332, allocations: 347.6 kB / 491.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2333, allocations: 0 / 491.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008924/0.2342, allocations: 489.7 kB / 492.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.2342, allocations: 40.84 kB / 492.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2342, allocations: 5.438 kB / 492.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.2344, allocations: 25.19 kB / 492.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.2346, allocations: 81.52 kB / 492.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006152/0.2353, allocations: 1.379 MB / 493.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.2356, allocations: 52.3 kB / 493.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.2356, allocations: 13.81 kB / 493.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004442/0.2361, allocations: 346.1 kB / 494.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003159/0.2364, allocations: 206.8 kB / 494.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000584/0.237, allocations: 334.1 kB / 494.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/0.237, allocations: 1.625 kB / 494.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.000836/0.2378, allocations: 484.4 kB / 495.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2378, allocations: 32.64 kB / 495.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.2379, allocations: 1.219 kB / 495.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.464e-05/0.2379, allocations: 25.38 kB / 495.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.2382, allocations: 73.83 kB / 495.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005425/0.2388, allocations: 1.364 MB / 496.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.239, allocations: 45.16 kB / 496.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.2391, allocations: 18.53 kB / 496.8 MB, free: 3.84 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 (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 9.279e-05/0.2392, allocations: 197.6 kB / 497 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.2392, allocations: 68.67 kB / 497.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008042/0.24, allocations: 384.5 kB / 497.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2401, allocations: 2.219 kB / 497.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2401, allocations: 1.125 kB / 497.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2401, allocations: 0 / 497.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.2405, allocations: 0.5339 MB / 498 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2405, allocations: 1.125 kB / 498 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.2408, allocations: 57.89 kB / 498 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.28e-05/0.2408, allocations: 17.83 kB / 498 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.2409, allocations: 10.05 kB / 498.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005445/0.2414, allocations: 1.375 MB / 499.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2414, allocations: 1.156 kB / 499.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.2425, allocations: 0.5176 MB / 500 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2426, allocations: 158.5 kB / 0.4884 GB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.2427, allocations: 6.438 kB / 0.4884 GB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.2429, allocations: 25.59 kB / 0.4884 GB, free: 1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.243, allocations: 31.09 kB / 0.4884 GB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.243, allocations: 12.14 kB / 0.4885 GB, free: 0.9727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006401/0.2437, allocations: 0.6706 MB / 0.4891 GB, free: 0.6289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2437, allocations: 0 / 0.4891 GB, free: 0.6289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005898/0.2443, allocations: 231.7 kB / 0.4893 GB, free: 0.5664 MB / 350.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.00216/0.2464, allocations: 0.6433 MB / 0.49 GB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.2479, allocations: 0.8264 MB / 0.4908 GB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2479, allocations: 0 / 0.4908 GB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005033/0.2485, allocations: 272.2 kB / 0.491 GB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.249, allocations: 90.27 kB / 0.4911 GB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.2511, allocations: 1.376 MB / 0.4925 GB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.2517, allocations: 0.9248 MB / 0.4934 GB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.2518, allocations: 43.42 kB / 0.4934 GB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2518, allocations: 0 / 0.4934 GB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01424/0.2661, allocations: 10.91 MB / 0.5041 GB, free: 2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.365660878131166] Failed to read output from testmodel.py, exit status != 0: 0.27257487107999623 0.284807976 0.060283123 Calling exit ...