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.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.0008596/0.0008596, allocations: 76.55 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.0007994/0.0007994, allocations: 181.9 kB / 23.22 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.8568/0.8568, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.025/0.025, allocations: 6.484 MB / 266.4 MB, free: 6.816 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.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 2.746e-06/2.746e-06, allocations: 0 / 392.9 MB, free: 5.172 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.539e-05, allocations: 4.953 kB / 392.9 MB, free: 5.168 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.004569/0.004604, allocations: 3.513 MB / 396.4 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.007101, allocations: 1.893 MB / 398.3 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.007507, allocations: 15.88 kB / 398.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000465/0.007972, allocations: 190.7 kB / 398.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006426/0.008614, allocations: 290.4 kB / 398.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.009633, allocations: 405.5 kB / 399.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006184/0.01025, allocations: 0.6585 MB / 399.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.01052, allocations: 143.2 kB / 400 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.0109, allocations: 367.1 kB / 400.4 MB, free: 13.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.01126, allocations: 255.3 kB / 400.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.01132, allocations: 56 kB / 400.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.0116, allocations: 183.7 kB / 400.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.01176, allocations: 223.3 kB / 401.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.01207, allocations: 207.3 kB / 401.3 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.01346, allocations: 0.9385 MB / 402.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.01347, allocations: 0 / 402.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01347, allocations: 0 / 402.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.01348, allocations: 0 / 402.2 MB, free: 11.84 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001309/0.01479, allocations: 1.055 MB / 403.3 MB, free: 10.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.01483, allocations: 11.97 kB / 403.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.01495, allocations: 88.38 kB / 403.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.01554, allocations: 0.5372 MB / 403.9 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.01557, allocations: 33.38 kB / 403.9 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.01562, allocations: 40.33 kB / 404 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.01619, allocations: 0.5035 MB / 404.5 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.01621, allocations: 8 kB / 404.5 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.01624, allocations: 16 kB / 404.5 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.01625, allocations: 8 kB / 404.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.0167, allocations: 303.7 kB / 404.8 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.0186, allocations: 1.457 MB / 406.3 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.01931, allocations: 314.7 kB / 406.6 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.01956, allocations: 116.6 kB / 406.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.0196, allocations: 4 kB / 406.7 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.01992, allocations: 185.8 kB / 406.9 MB, free: 6.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.775e-06/0.01993, allocations: 0 / 406.9 MB, free: 6.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008676/0.02079, allocations: 472.6 kB / 407.3 MB, free: 6.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.02086, allocations: 132.5 kB / 407.5 MB, free: 6.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.02186, allocations: 0.965 MB / 408.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.02189, allocations: 29.7 kB / 408.4 MB, free: 5.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.02209, allocations: 348.6 kB / 408.8 MB, free: 5.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.02214, allocations: 83.28 kB / 408.9 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.02222, allocations: 73.69 kB / 408.9 MB, free: 4.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.02235, allocations: 386.7 kB / 409.3 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.02259, allocations: 170.4 kB / 409.5 MB, free: 4.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.02288, allocations: 328.1 kB / 409.8 MB, free: 3.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.02331, allocations: 355.8 kB / 410.2 MB, free: 3.527 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.02332, allocations: 0 / 410.2 MB, free: 3.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007007/0.02402, allocations: 0.5201 MB / 410.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.02406, allocations: 33.7 kB / 410.7 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.02407, allocations: 4 kB / 410.7 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.02423, allocations: 24.84 kB / 410.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.02443, allocations: 75.88 kB / 410.8 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009111/0.02535, allocations: 1.249 MB / 412.1 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.02554, allocations: 55.73 kB / 412.1 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.02556, allocations: 15.94 kB / 412.1 MB, free: 1.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003895/0.02595, allocations: 369.7 kB / 412.5 MB, free: 1.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002592/0.02621, allocations: 321 kB / 412.8 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006707/0.02688, allocations: 328 kB / 413.1 MB, free: 328 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.02688, allocations: 0 / 413.1 MB, free: 328 kB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005657/0.02745, allocations: 0.4896 MB / 413.6 MB, free: 15.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.02747, allocations: 37.73 kB / 413.6 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.02748, allocations: 4 kB / 413.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.735e-05/0.02755, allocations: 20.84 kB / 413.7 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.02771, allocations: 75.89 kB / 413.7 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006371/0.02834, allocations: 1.241 MB / 415 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.02851, allocations: 59.88 kB / 415 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.02853, allocations: 8 kB / 415.1 MB, free: 14.25 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.0001521/0.02868, allocations: 204.1 kB / 415.3 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.02874, allocations: 67.58 kB / 415.3 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.02932, allocations: 372.4 kB / 415.7 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.02933, allocations: 3.938 kB / 415.7 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.02933, allocations: 0 / 415.7 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.02934, allocations: 4 kB / 415.7 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.02971, allocations: 408.9 kB / 416.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.02971, allocations: 0 / 416.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.02986, allocations: 51.89 kB / 416.1 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.075e-05/0.02993, allocations: 28.84 kB / 416.2 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.02995, allocations: 4 kB / 416.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006618/0.03061, allocations: 1.253 MB / 417.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03061, allocations: 4.031 kB / 417.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.03131, allocations: 0.5203 MB / 417.9 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/0.0314, allocations: 87.53 kB / 418 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.03144, allocations: 7.938 kB / 418 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.03156, allocations: 31.97 kB / 418.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.03163, allocations: 27.95 kB / 418.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.03165, allocations: 8 kB / 418.1 MB, free: 11.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005671/0.03221, allocations: 0.6826 MB / 418.8 MB, free: 10.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03221, allocations: 3.938 kB / 418.8 MB, free: 10.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005506/0.03276, allocations: 251.3 kB / 419 MB, free: 10.08 MB / 394.7 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.001345/0.03411, allocations: 0.7484 MB / 419.8 MB, free: 9.672 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.03554, allocations: 0.8416 MB / 420.6 MB, free: 8.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.03554, allocations: 128 / 420.6 MB, free: 8.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.03591, allocations: 254.4 kB / 420.9 MB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/0.03667, allocations: 93.83 kB / 421 MB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.0384, allocations: 1.317 MB / 422.3 MB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.03863, allocations: 337.8 kB / 422.6 MB, free: 6.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.03873, allocations: 48.48 kB / 422.7 MB, free: 6.664 MB / 394.7 MB Notification: Performance of SimCode: time 1.312e-06/0.03873, allocations: 3.938 kB / 422.7 MB, free: 6.66 MB / 394.7 MB Notification: Performance of Templates: time 0.01168/0.05041, allocations: 11.74 MB / 434.4 MB, free: 10.92 MB / 410.7 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: 5.335452018305659] Failed to read output from testmodel.py, exit status != 0: 0.05767059326171875 0.258873565 0.24162507900000002 Calling exit ...