Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0007983/0.0007983, allocations: 76.52 kB / 19.93 MB, free: 4.613 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.0008264/0.0008264, allocations: 178.2 kB / 23.21 MB, free: 1.332 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.8647/0.8647, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.0251/0.0251, allocations: 6.471 MB / 266.5 MB, free: 6.855 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.247e-06/3.247e-06, allocations: 0 / 393 MB, free: 5.203 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.354e-05/3.679e-05, allocations: 2.281 kB / 393 MB, free: 5.199 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.004203/0.00424, allocations: 3.51 MB / 396.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.00627, allocations: 1.885 MB / 398.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.006494, allocations: 11.94 kB / 398.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.006869, allocations: 206.8 kB / 398.6 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.007392, allocations: 286.4 kB / 398.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/0.007985, allocations: 404 kB / 399.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005713/0.008557, allocations: 0.6586 MB / 399.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.008798, allocations: 143.2 kB / 400.1 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.009122, allocations: 367.1 kB / 400.4 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.009411, allocations: 255.3 kB / 400.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.009469, allocations: 60 kB / 400.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.00969, allocations: 179.7 kB / 400.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.009841, allocations: 223.3 kB / 401.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.009985, allocations: 207.3 kB / 401.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007128/0.0107, allocations: 0.9385 MB / 402.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.0107, allocations: 0 / 402.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.0107, allocations: 4 kB / 402.3 MB, free: 11.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.01071, allocations: 7.875 kB / 402.3 MB, free: 11.86 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.001178/0.01189, allocations: 1.044 MB / 403.3 MB, free: 10.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.01192, allocations: 8.031 kB / 403.3 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.725e-05/0.01202, allocations: 92.36 kB / 403.4 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.01255, allocations: 0.5333 MB / 404 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.01258, allocations: 33.38 kB / 404 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.01263, allocations: 48.25 kB / 404 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.01317, allocations: 0.4997 MB / 404.5 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.01319, allocations: 3.938 kB / 404.5 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.01321, allocations: 16 kB / 404.6 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.01322, allocations: 8 kB / 404.6 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.01367, allocations: 307.7 kB / 404.9 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.0151, allocations: 1.453 MB / 406.3 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.0156, allocations: 318.7 kB / 406.6 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.01577, allocations: 116.6 kB / 406.7 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.0158, allocations: 4 kB / 406.7 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.01606, allocations: 181.9 kB / 406.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.422e-06/0.01606, allocations: 0 / 406.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008054/0.01686, allocations: 476.5 kB / 407.4 MB, free: 6.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.01692, allocations: 132.5 kB / 407.5 MB, free: 6.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.01767, allocations: 0.9611 MB / 408.5 MB, free: 5.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.01769, allocations: 33.7 kB / 408.5 MB, free: 5.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.01788, allocations: 344.6 kB / 408.8 MB, free: 5.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.01793, allocations: 83.39 kB / 408.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.018, allocations: 77.69 kB / 409 MB, free: 4.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.01811, allocations: 386.6 kB / 409.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.01834, allocations: 166.5 kB / 409.5 MB, free: 4.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.01861, allocations: 336 kB / 409.9 MB, free: 3.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.01902, allocations: 351.9 kB / 410.2 MB, free: 3.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01902, allocations: 3.938 kB / 410.2 MB, free: 3.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006183/0.01964, allocations: 0.5201 MB / 410.7 MB, free: 3.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.01967, allocations: 33.7 kB / 410.8 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01967, allocations: 4 kB / 410.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.01982, allocations: 24.78 kB / 410.8 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.01999, allocations: 75.89 kB / 410.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006884/0.02068, allocations: 1.252 MB / 412.1 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.02083, allocations: 55.72 kB / 412.2 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.02086, allocations: 15.98 kB / 412.2 MB, free: 1.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003432/0.0212, allocations: 373.7 kB / 412.6 MB, free: 1.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002471/0.02145, allocations: 313 kB / 412.9 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003577/0.0218, allocations: 328.2 kB / 413.2 MB, free: 360 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.02181, allocations: 0 / 413.2 MB, free: 360 kB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.000544/0.02235, allocations: 0.4968 MB / 413.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.02237, allocations: 37.7 kB / 413.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.02237, allocations: 0 / 413.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.978e-05/0.02242, allocations: 24.84 kB / 413.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.02257, allocations: 75.89 kB / 413.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005423/0.02311, allocations: 1.241 MB / 415.1 MB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.02326, allocations: 51.75 kB / 415.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.02328, allocations: 16 kB / 415.1 MB, free: 14.28 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.0001023/0.02338, allocations: 204.1 kB / 415.3 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.02344, allocations: 63.58 kB / 415.4 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.02395, allocations: 376.3 kB / 415.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.02395, allocations: 7.938 kB / 415.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.02395, allocations: 4 kB / 415.8 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.02396, allocations: 0 / 415.8 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.02425, allocations: 400.9 kB / 416.2 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.02425, allocations: 0 / 416.2 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.02439, allocations: 59.89 kB / 416.2 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.836e-05/0.02444, allocations: 20.86 kB / 416.2 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.02446, allocations: 7.984 kB / 416.2 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005187/0.02498, allocations: 1.245 MB / 417.5 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.02498, allocations: 3.984 kB / 417.5 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.02564, allocations: 0.5242 MB / 418 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/0.02572, allocations: 87.53 kB / 418.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.02575, allocations: 4 kB / 418.1 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.02587, allocations: 27.97 kB / 418.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.02593, allocations: 31.89 kB / 418.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.02594, allocations: 4 kB / 418.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005483/0.02649, allocations: 0.6903 MB / 418.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02649, allocations: 0 / 418.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004142/0.0269, allocations: 247.3 kB / 419.1 MB, free: 10.12 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.001162/0.02806, allocations: 0.7502 MB / 419.9 MB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.02932, allocations: 0.8455 MB / 420.7 MB, free: 8.805 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.02932, allocations: 4.125 kB / 420.7 MB, free: 8.801 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.02957, allocations: 250.4 kB / 420.9 MB, free: 8.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.02987, allocations: 93.84 kB / 421 MB, free: 8.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.03126, allocations: 1.28 MB / 422.3 MB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.03148, allocations: 337.8 kB / 422.6 MB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.03162, allocations: 88.23 kB / 422.7 MB, free: 6.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.0317, allocations: 44.48 kB / 422.8 MB, free: 6.656 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.0317, allocations: 3.938 kB / 422.8 MB, free: 6.652 MB / 394.7 MB Notification: Performance of Templates: time 0.009405/0.04111, allocations: 7.91 MB / 430.7 MB, free: 14.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.7305607050657272] Failed to read output from testmodel.py, exit status != 0: 0.04645250830799341 0.054019305000000004 0.041733107000000005 Calling exit ...