Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0007777/0.0007777, allocations: 80.5 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.00078/0.00078, allocations: 177.9 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.8779/0.8779, allocations: 177.2 MB / 203.6 MB, free: 5.742 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.02459/0.02459, allocations: 6.467 MB / 266.5 MB, free: 6.844 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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 393 MB, free: 5.227 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.805e-05, allocations: 6.281 kB / 393 MB, free: 5.219 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.003589/0.003607, allocations: 3.522 MB / 396.5 MB, free: 1.672 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.005733, allocations: 1.897 MB / 398.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.005936, allocations: 15.88 kB / 398.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.006285, allocations: 194.9 kB / 398.6 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.006761, allocations: 286.4 kB / 398.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.00729, allocations: 413.1 kB / 399.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.007807, allocations: 0.6507 MB / 399.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.008037, allocations: 147.2 kB / 400.1 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003624/0.008399, allocations: 363.1 kB / 400.4 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.008647, allocations: 251.3 kB / 400.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.008695, allocations: 55.94 kB / 400.7 MB, free: 13.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.008825, allocations: 115.8 kB / 400.8 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.008959, allocations: 215.3 kB / 401.1 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.009091, allocations: 195.3 kB / 401.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.009684, allocations: 0.8489 MB / 402.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.009686, allocations: 0 / 402.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.009687, allocations: 0 / 402.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.009694, allocations: 3.938 kB / 402.1 MB, free: 12.05 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.001051/0.01075, allocations: 1.027 MB / 403.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.01077, allocations: 8.031 kB / 403.1 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.01086, allocations: 88.38 kB / 403.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.01136, allocations: 0.5255 MB / 403.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.01138, allocations: 33.38 kB / 403.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.01144, allocations: 40.36 kB / 403.8 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/0.01216, allocations: 454.3 kB / 404.3 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.01217, allocations: 0 / 404.3 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.01219, allocations: 12 kB / 404.3 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.0122, allocations: 12 kB / 404.3 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.01265, allocations: 307.7 kB / 404.6 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.01401, allocations: 1.442 MB / 406 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.01452, allocations: 321.7 kB / 406.3 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.01469, allocations: 120.6 kB / 406.5 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.01472, allocations: 3.984 kB / 406.5 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.01497, allocations: 187.2 kB / 406.6 MB, free: 7.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.322e-06/0.01497, allocations: 0 / 406.6 MB, free: 7.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007648/0.01573, allocations: 467.9 kB / 407.1 MB, free: 6.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.01577, allocations: 85.05 kB / 407.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.01644, allocations: 0.9338 MB / 408.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.01646, allocations: 33.7 kB / 408.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.01664, allocations: 356.6 kB / 408.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.01669, allocations: 83.39 kB / 408.6 MB, free: 5.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.01676, allocations: 73.64 kB / 408.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.01687, allocations: 386.7 kB / 409 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.01709, allocations: 166.4 kB / 409.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.01733, allocations: 263 kB / 409.5 MB, free: 4.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.01773, allocations: 351.8 kB / 409.8 MB, free: 4.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01773, allocations: 0 / 409.8 MB, free: 4.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005746/0.01831, allocations: 0.5162 MB / 410.3 MB, free: 3.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.01833, allocations: 36.97 kB / 410.3 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01834, allocations: 4 kB / 410.4 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001043/0.01844, allocations: 20.86 kB / 410.4 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.01861, allocations: 75.88 kB / 410.4 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008447/0.01946, allocations: 1.252 MB / 411.7 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.01961, allocations: 51.75 kB / 411.7 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.01962, allocations: 8 kB / 411.8 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003317/0.01996, allocations: 369.7 kB / 412.1 MB, free: 1.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002156/0.02017, allocations: 251.8 kB / 412.4 MB, free: 1.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003566/0.02053, allocations: 324.3 kB / 412.7 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.02053, allocations: 0 / 412.7 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005077/0.02104, allocations: 0.4888 MB / 413.2 MB, free: 440 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.02105, allocations: 37.92 kB / 413.2 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.02106, allocations: 7.984 kB / 413.2 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.56e-05/0.0211, allocations: 20.8 kB / 413.2 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.02126, allocations: 75.89 kB / 413.3 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005258/0.02178, allocations: 1.245 MB / 414.6 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.02192, allocations: 51.91 kB / 414.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.02193, allocations: 11.94 kB / 414.6 MB, free: 14.87 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 9.341e-05/0.02203, allocations: 203.2 kB / 414.8 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.02208, allocations: 63.58 kB / 414.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.02258, allocations: 384 kB / 415.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.02258, allocations: 4 kB / 415.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.02258, allocations: 0 / 415.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.02259, allocations: 0 / 415.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.02288, allocations: 397 kB / 415.6 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.02288, allocations: 0 / 415.6 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.02303, allocations: 51.95 kB / 415.7 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.935e-05/0.02308, allocations: 20.84 kB / 415.7 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.02309, allocations: 8 kB / 415.7 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005311/0.02362, allocations: 1.249 MB / 417 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.02362, allocations: 0 / 417 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.02428, allocations: 0.528 MB / 417.5 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.02436, allocations: 83.53 kB / 417.6 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.02439, allocations: 8 kB / 417.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.0245, allocations: 27.91 kB / 417.6 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.02455, allocations: 27.95 kB / 417.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.02457, allocations: 12 kB / 417.7 MB, free: 11.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008099/0.02538, allocations: 0.663 MB / 418.3 MB, free: 10.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02538, allocations: 0 / 418.3 MB, free: 10.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003757/0.02575, allocations: 223.4 kB / 418.5 MB, free: 10.77 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.0009744/0.02673, allocations: 0.6476 MB / 419.2 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008998/0.02763, allocations: 0.8338 MB / 420 MB, free: 9.523 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02763, allocations: 4.062 kB / 420 MB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.02788, allocations: 254.3 kB / 420.3 MB, free: 9.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.02818, allocations: 89.09 kB / 420.4 MB, free: 9.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.02942, allocations: 1.273 MB / 421.6 MB, free: 7.879 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.02964, allocations: 338 kB / 422 MB, free: 7.527 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.02979, allocations: 84.22 kB / 422 MB, free: 7.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.02986, allocations: 44.48 kB / 422.1 MB, free: 7.398 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02986, allocations: 0 / 422.1 MB, free: 7.398 MB / 394.7 MB Notification: Performance of Templates: time 0.008461/0.03832, allocations: 6.956 MB / 429 MB, free: 0.4961 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.691299640573561] Failed to read output from testmodel.py, exit status != 0: 0.04287354275584221 0.05105396 0.039762081000000005 Calling exit ...