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.001622/0.001622, allocations: 79.75 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001717/0.001717, allocations: 163 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.382/1.382, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.03877/0.03877, allocations: 6.483 MB / 265.7 MB, free: 10.27 MB / 254.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/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 2.024e-06/2.024e-06, allocations: 0 / 392.1 MB, free: 9.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.876e-05, allocations: 6.281 kB / 392.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005719/0.005747, allocations: 3.509 MB / 395.6 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.008957, allocations: 1.893 MB / 397.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.00924, allocations: 15.88 kB / 397.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.009731, allocations: 194.9 kB / 397.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006742/0.0104, allocations: 286.4 kB / 398 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008612/0.01127, allocations: 410.2 kB / 398.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007543/0.01202, allocations: 0.6586 MB / 399.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.01232, allocations: 151.1 kB / 399.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004406/0.01276, allocations: 367.1 kB / 399.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003962/0.01316, allocations: 247.3 kB / 399.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.01325, allocations: 60 kB / 399.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.01361, allocations: 183.7 kB / 400.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.01386, allocations: 227.2 kB / 400.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.0141, allocations: 203.3 kB / 400.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.01523, allocations: 0.9386 MB / 401.4 MB, free: 416 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.01524, allocations: 0 / 401.4 MB, free: 416 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01524, allocations: 3.938 kB / 401.4 MB, free: 412 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.01524, allocations: 0 / 401.4 MB, free: 412 kB / 318.1 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.001814/0.01706, allocations: 1.059 MB / 402.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.01709, allocations: 8.031 kB / 402.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.01724, allocations: 88.38 kB / 402.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007947/0.01804, allocations: 0.5333 MB / 403.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.01807, allocations: 33.31 kB / 403.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-05/0.01814, allocations: 44.33 kB / 403.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000897/0.01904, allocations: 0.5035 MB / 403.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.01906, allocations: 4 kB / 403.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.0191, allocations: 16 kB / 403.7 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.01911, allocations: 8 kB / 403.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.01996, allocations: 307.7 kB / 404 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.0223, allocations: 1.45 MB / 405.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009452/0.02324, allocations: 318.5 kB / 405.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.02359, allocations: 116.8 kB / 405.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.02363, allocations: 4 kB / 405.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004667/0.0241, allocations: 179.3 kB / 406.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/0.0241, allocations: 0 / 406.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.00146/0.02556, allocations: 476.7 kB / 406.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.327e-05/0.02564, allocations: 136.5 kB / 406.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.02681, allocations: 0.9534 MB / 407.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.02685, allocations: 33.7 kB / 407.7 MB, free: 9.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.02715, allocations: 348.5 kB / 408 MB, free: 9.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.382e-05/0.02723, allocations: 83.41 kB / 408.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.02735, allocations: 73.69 kB / 408.2 MB, free: 9.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.02755, allocations: 386.7 kB / 408.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/0.02796, allocations: 166.5 kB / 408.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.0285, allocations: 336 kB / 409 MB, free: 8.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000797/0.0293, allocations: 348 kB / 409.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.0293, allocations: 0 / 409.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001132/0.03043, allocations: 0.5163 MB / 409.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.03048, allocations: 40.81 kB / 409.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.03048, allocations: 7.984 kB / 409.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/0.03064, allocations: 20.84 kB / 409.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.03099, allocations: 83.81 kB / 410 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.03207, allocations: 1.256 MB / 411.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.03241, allocations: 51.75 kB / 411.3 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.03244, allocations: 12 kB / 411.3 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006631/0.03311, allocations: 370.3 kB / 411.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004763/0.03358, allocations: 321 kB / 412 MB, free: 5.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007171/0.0343, allocations: 335.7 kB / 412.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.0343, allocations: 0 / 412.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001036/0.03534, allocations: 0.4891 MB / 412.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.03537, allocations: 37.91 kB / 412.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.03538, allocations: 8 kB / 412.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.158e-05/0.03546, allocations: 16.86 kB / 412.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.03577, allocations: 71.89 kB / 413 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.03677, allocations: 1.241 MB / 414.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.03712, allocations: 59.88 kB / 414.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.03715, allocations: 8 kB / 414.3 MB, free: 2.812 MB / 334.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,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.0001945/0.03734, allocations: 207.4 kB / 414.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.03744, allocations: 63.58 kB / 414.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.03847, allocations: 380.3 kB / 414.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.03848, allocations: 3.938 kB / 414.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.03848, allocations: 0 / 414.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.03849, allocations: 4 kB / 414.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.039, allocations: 404.9 kB / 415.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.039, allocations: 0 / 415.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.03931, allocations: 51.89 kB / 415.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.018e-05/0.0394, allocations: 24.84 kB / 415.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.03942, allocations: 12 kB / 415.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.04044, allocations: 1.245 MB / 416.6 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.04044, allocations: 4.031 kB / 416.6 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.04182, allocations: 0.514 MB / 417.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.04196, allocations: 83.48 kB / 417.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.04203, allocations: 8 kB / 417.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.04229, allocations: 27.97 kB / 417.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.04238, allocations: 27.89 kB / 417.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.0424, allocations: 15.94 kB / 417.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000871/0.04327, allocations: 0.6826 MB / 418 MB, free: 14.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04327, allocations: 0 / 418 MB, free: 14.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007614/0.04403, allocations: 247.3 kB / 418.2 MB, free: 14.66 MB / 350.1 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.00283/0.04686, allocations: 0.7594 MB / 419 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.04873, allocations: 0.8494 MB / 419.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.04873, allocations: 0 / 419.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.04926, allocations: 254.5 kB / 420.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.04985, allocations: 103.7 kB / 420.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.05213, allocations: 1.277 MB / 421.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.05249, allocations: 337.7 kB / 421.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.05277, allocations: 96.19 kB / 421.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.05291, allocations: 44.48 kB / 421.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.05291, allocations: 0 / 421.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Templates: time 0.01661/0.06952, allocations: 7.876 MB / 429.8 MB, free: 3.363 MB / 350.1 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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.262436877936125] Failed to read output from testmodel.py, exit status != 0: 0.07886522635817528 0.09323471500000001 0.075043224 Calling exit ...