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.0009203/0.0009203, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001038/0.001038, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9089/0.9089, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.03042/0.03042, allocations: 6.475 MB / 266.4 MB, free: 6.852 MB / 250.7 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 4.118e-06/4.118e-06, allocations: 0 / 392.9 MB, free: 5.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.485e-05, allocations: 2.281 kB / 392.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.004327/0.004362, allocations: 3.532 MB / 396.4 MB, free: 1.672 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.007379, allocations: 1.889 MB / 398.3 MB, free: 15.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003707/0.00775, allocations: 7.938 kB / 398.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.008217, allocations: 198.9 kB / 398.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007423/0.008959, allocations: 290.4 kB / 398.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008166/0.009775, allocations: 406.7 kB / 399.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008175/0.01059, allocations: 0.6546 MB / 399.9 MB, free: 14.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.01093, allocations: 143.2 kB / 400 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006582/0.01159, allocations: 367 kB / 400.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.01202, allocations: 243.3 kB / 400.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.231e-05/0.01208, allocations: 52 kB / 400.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.01228, allocations: 123.8 kB / 400.8 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.01247, allocations: 211.3 kB / 401 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.01263, allocations: 207.3 kB / 401.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008348/0.01346, allocations: 0.8411 MB / 402 MB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01347, allocations: 4 kB / 402 MB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01347, allocations: 3.938 kB / 402 MB, free: 12.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.01348, allocations: 4 kB / 402 MB, free: 12.06 MB / 378.7 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.001312/0.01479, allocations: 1.023 MB / 403.1 MB, free: 10.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.01483, allocations: 8.031 kB / 403.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.01495, allocations: 88.38 kB / 403.2 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.01552, allocations: 0.5372 MB / 403.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.01554, allocations: 29.38 kB / 403.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.0156, allocations: 36.38 kB / 403.8 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008303/0.01643, allocations: 450.3 kB / 404.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.01645, allocations: 0 / 404.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.01648, allocations: 16 kB / 404.2 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.01648, allocations: 12 kB / 404.2 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004491/0.01693, allocations: 307.7 kB / 404.5 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.01853, allocations: 1.434 MB / 406 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.0191, allocations: 320.6 kB / 406.3 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.01928, allocations: 124.6 kB / 406.4 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.01932, allocations: 4 kB / 406.4 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.01961, allocations: 187.3 kB / 406.6 MB, free: 7.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.415e-06/0.01962, allocations: 0 / 406.6 MB, free: 7.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009092/0.02053, allocations: 475.8 kB / 407 MB, free: 6.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.02058, allocations: 89.09 kB / 407.1 MB, free: 6.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008121/0.0214, allocations: 0.9299 MB / 408.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.02142, allocations: 29.7 kB / 408.1 MB, free: 5.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.02164, allocations: 348.6 kB / 408.4 MB, free: 5.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.0217, allocations: 87.31 kB / 408.5 MB, free: 5.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.594e-05/0.02179, allocations: 77.64 kB / 408.6 MB, free: 5.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.02193, allocations: 382.7 kB / 409 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.02218, allocations: 170.5 kB / 409.1 MB, free: 4.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.02244, allocations: 255 kB / 409.4 MB, free: 4.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.02287, allocations: 351.8 kB / 409.7 MB, free: 4.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.02287, allocations: 0 / 409.7 MB, free: 4.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006642/0.02354, allocations: 0.5161 MB / 410.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/0.02359, allocations: 33.7 kB / 410.3 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.0236, allocations: 0 / 410.3 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.02378, allocations: 24.84 kB / 410.3 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.02398, allocations: 84.11 kB / 410.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009169/0.02489, allocations: 1.244 MB / 411.6 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.02508, allocations: 47.78 kB / 411.7 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.0251, allocations: 16 kB / 411.7 MB, free: 1.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003732/0.02547, allocations: 377.8 kB / 412.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002257/0.0257, allocations: 251.6 kB / 412.3 MB, free: 1.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003618/0.02606, allocations: 332 kB / 412.6 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.02606, allocations: 0 / 412.6 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005517/0.02661, allocations: 0.4892 MB / 413.1 MB, free: 440 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.02664, allocations: 37.69 kB / 413.1 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.02664, allocations: 0 / 413.1 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.945e-05/0.02671, allocations: 20.86 kB / 413.2 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.02686, allocations: 75.89 kB / 413.2 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006686/0.02753, allocations: 1.237 MB / 414.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.0277, allocations: 55.78 kB / 414.5 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.02771, allocations: 12 kB / 414.5 MB, free: 14.88 MB / 394.7 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.0001323/0.02784, allocations: 200.2 kB / 414.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.0279, allocations: 63.58 kB / 414.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.02845, allocations: 384.1 kB / 415.2 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.02845, allocations: 4 kB / 415.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.02846, allocations: 3.938 kB / 415.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.02846, allocations: 0 / 415.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.02883, allocations: 393 kB / 415.6 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02883, allocations: 0 / 415.6 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.02899, allocations: 55.95 kB / 415.6 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.692e-05/0.02907, allocations: 24.78 kB / 415.6 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.02909, allocations: 4 kB / 415.7 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006992/0.02979, allocations: 1.241 MB / 416.9 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.02979, allocations: 0 / 416.9 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.03053, allocations: 0.5359 MB / 417.4 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/0.03062, allocations: 79.5 kB / 417.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.03065, allocations: 8 kB / 417.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.03077, allocations: 23.97 kB / 417.5 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.03087, allocations: 23.95 kB / 417.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.03089, allocations: 12 kB / 417.6 MB, free: 11.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009564/0.03184, allocations: 0.6669 MB / 418.2 MB, free: 11 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03184, allocations: 0 / 418.2 MB, free: 11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005535/0.0324, allocations: 219.4 kB / 418.5 MB, free: 10.79 MB / 394.7 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.001263/0.03366, allocations: 0.6509 MB / 419.1 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.03477, allocations: 0.8454 MB / 420 MB, free: 9.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.03477, allocations: 0 / 420 MB, free: 9.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.03505, allocations: 250.4 kB / 420.2 MB, free: 9.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.03542, allocations: 101.9 kB / 420.3 MB, free: 9.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.03715, allocations: 1.306 MB / 421.6 MB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.0374, allocations: 337.8 kB / 421.9 MB, free: 7.488 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.159e-05/0.03749, allocations: 40.5 kB / 422 MB, free: 7.449 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03749, allocations: 0 / 422 MB, free: 7.449 MB / 394.7 MB Notification: Performance of Templates: time 0.01137/0.04886, allocations: 11.09 MB / 433.1 MB, free: 12.35 MB / 410.7 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: 5.457191089168191] Failed to read output from testmodel.py, exit status != 0: 0.05534960422664881 0.22716633600000002 0.048834958000000005 Calling exit ...