Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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.001507/0.001507, allocations: 108.4 kB / 17.08 MB, free: 6.012 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.001478/0.001479, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.306/1.306, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.1253/0.1253, allocations: 8.406 MB / 306.3 MB, free: 2.746 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 67.89 kB / 423.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2001, allocations: 51.37 MB / 474.6 MB, free: 20.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.004804/0.2049, allocations: 3.767 MB / 478.3 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.2072, allocations: 1.739 MB / 480.1 MB, free: 16.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.2075, allocations: 14.81 kB / 480.1 MB, free: 16.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.2079, allocations: 196.9 kB / 480.3 MB, free: 16.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.2084, allocations: 229.8 kB / 480.5 MB, free: 16.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.2091, allocations: 411.3 kB / 480.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.2097, allocations: 0.6533 MB / 481.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.21, allocations: 239.7 kB / 481.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.2103, allocations: 263.1 kB / 482 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.2107, allocations: 308.6 kB / 482.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.2108, allocations: 55.78 kB / 482.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.211, allocations: 120.3 kB / 482.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.2112, allocations: 217.8 kB / 482.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.2114, allocations: 356 kB / 483.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008147/0.2122, allocations: 0.8736 MB / 484 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2123, allocations: 1.125 kB / 484 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2123, allocations: 0 / 484 MB, free: 13.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.2123, allocations: 0 / 484 MB, free: 13.77 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001567/0.2139, allocations: 1.121 MB / 485.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2139, allocations: 17.23 kB / 485.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.2141, allocations: 87.88 kB / 485.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.2147, allocations: 0.6053 MB / 485.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.2148, allocations: 38.53 kB / 485.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.57e-05/0.2148, allocations: 38.84 kB / 485.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000814/0.2156, allocations: 446 kB / 486.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.2157, allocations: 1.219 kB / 486.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.2157, allocations: 15.16 kB / 486.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.2157, allocations: 10.06 kB / 486.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/0.2166, allocations: 331.7 kB / 486.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.2187, allocations: 1.767 MB / 488.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009384/0.2197, allocations: 440.4 kB / 488.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.22, allocations: 133.5 kB / 489 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.2201, allocations: 11.23 kB / 489 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004414/0.2205, allocations: 189.9 kB / 489.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.774e-06/0.2206, allocations: 0 / 489.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001746/0.2223, allocations: 0.6459 MB / 489.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.2224, allocations: 80.7 kB / 489.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.2235, allocations: 0.9271 MB / 490.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.2236, allocations: 36.44 kB / 490.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.2238, allocations: 354 kB / 491.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.2238, allocations: 94.22 kB / 491.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.224, allocations: 80.27 kB / 491.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2241, allocations: 383.3 kB / 491.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.2245, allocations: 145.8 kB / 491.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.2249, allocations: 216.5 kB / 492.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007018/0.2256, allocations: 368.5 kB / 492.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2256, allocations: 3.938 kB / 492.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001119/0.2267, allocations: 0.5415 MB / 493 MB, free: 7.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.2268, allocations: 33.58 kB / 493 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2268, allocations: 9.312 kB / 493 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/0.2271, allocations: 57.16 kB / 493.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.2274, allocations: 80.19 kB / 493.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.2287, allocations: 1.813 MB / 495 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.229, allocations: 52.39 kB / 495 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.229, allocations: 17.95 kB / 495.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004779/0.2295, allocations: 347.8 kB / 495.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003191/0.2299, allocations: 201.6 kB / 495.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005731/0.2304, allocations: 338.4 kB / 495.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.2304, allocations: 4 kB / 495.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000931/0.2314, allocations: 0.5121 MB / 496.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2314, allocations: 35.98 kB / 496.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.2314, allocations: 2.625 kB / 496.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.2316, allocations: 61.78 kB / 496.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.2319, allocations: 73.38 kB / 496.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.233, allocations: 1.829 MB / 498.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.2332, allocations: 40.78 kB / 498.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.2333, allocations: 14.66 kB / 498.5 MB, free: 2.695 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,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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 9.801e-05/0.2334, allocations: 207.8 kB / 498.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.2334, allocations: 63.8 kB / 498.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009095/0.2344, allocations: 435.7 kB / 499.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2344, allocations: 2.906 kB / 499.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.2344, allocations: 1.281 kB / 499.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2344, allocations: 0 / 499.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.2358, allocations: 1.035 MB / 0.4885 GB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2358, allocations: 0 / 0.4885 GB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.236, allocations: 56.08 kB / 0.4886 GB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/0.2362, allocations: 63.72 kB / 0.4886 GB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2362, allocations: 5.656 kB / 0.4886 GB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.2374, allocations: 1.801 MB / 0.4904 GB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2374, allocations: 0 / 0.4904 GB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.2388, allocations: 0.6629 MB / 0.491 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.239, allocations: 160 kB / 0.4912 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.2391, allocations: 8 kB / 0.4912 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.2394, allocations: 23.97 kB / 0.4912 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/0.2395, allocations: 27.95 kB / 0.4912 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.2395, allocations: 11.94 kB / 0.4913 GB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008023/0.2403, allocations: 0.663 MB / 0.4919 GB, free: 14.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.933e-06/0.2403, allocations: 4 kB / 0.4919 GB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007901/0.2411, allocations: 239.3 kB / 0.4921 GB, free: 14.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.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 (22): * Single equations (assignments): 19 * 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.002186/0.2433, allocations: 0.599 MB / 0.4927 GB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.2451, allocations: 0.8755 MB / 0.4936 GB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2451, allocations: 0.75 kB / 0.4936 GB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000533/0.2456, allocations: 282.5 kB / 0.4938 GB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.2462, allocations: 90.88 kB / 0.4939 GB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.2485, allocations: 1.416 MB / 0.4953 GB, free: 11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.2492, allocations: 0.9509 MB / 0.4962 GB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.2493, allocations: 39.38 kB / 0.4963 GB, free: 9.992 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2493, allocations: 0 / 0.4963 GB, free: 9.992 MB / 366.1 MB Notification: Performance of Templates: time 0.01442/0.2637, allocations: 10.93 MB / 0.507 GB, free: 15.06 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.178924487903714] Failed to read output from testmodel.py, exit status != 0: 0.27052163309417665 0.282610886 0.06785147400000001 Calling exit ...