Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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.001082/0.001082, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001181/0.001181, allocations: 169 kB / 23.27 MB, free: 1.223 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.9833/0.9833, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.03168/0.03168, allocations: 6.488 MB / 266.7 MB, free: 6.457 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.111e-05, allocations: 2.312 kB / 338.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.005962/0.005994, allocations: 3.754 MB / 342.3 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.008762, allocations: 1.963 MB / 344.2 MB, free: 5.836 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.009065, allocations: 15.88 kB / 344.2 MB, free: 5.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.009501, allocations: 202.8 kB / 344.4 MB, free: 5.621 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006084/0.01011, allocations: 294.3 kB / 344.7 MB, free: 5.332 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007083/0.01082, allocations: 407 kB / 345.1 MB, free: 4.934 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006514/0.01147, allocations: 0.6899 MB / 345.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.01176, allocations: 156.2 kB / 346 MB, free: 4.086 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.01227, allocations: 398.9 kB / 346.4 MB, free: 3.695 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.01258, allocations: 251.3 kB / 346.6 MB, free: 3.449 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.01264, allocations: 60 kB / 346.7 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.01281, allocations: 119.9 kB / 346.8 MB, free: 3.273 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.01297, allocations: 227.2 kB / 347 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.01312, allocations: 207.4 kB / 347.2 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.01378, allocations: 0.5837 MB / 347.8 MB, free: 2.262 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.01378, allocations: 7.938 kB / 347.8 MB, free: 2.254 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01378, allocations: 0 / 347.8 MB, free: 2.254 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.01379, allocations: 0 / 347.8 MB, free: 2.254 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001282/0.01508, allocations: 1.166 MB / 349 MB, free: 1.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.01512, allocations: 8.031 kB / 349 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.01525, allocations: 120.4 kB / 349.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.01572, allocations: 464.9 kB / 349.5 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.01575, allocations: 29.38 kB / 349.6 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.0158, allocations: 48.36 kB / 349.6 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.01621, allocations: 377.4 kB / 350 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.01623, allocations: 7.953 kB / 350 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.01625, allocations: 16 kB / 350 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.01626, allocations: 8 kB / 350 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.01642, allocations: 114.8 kB / 350.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.01784, allocations: 1.51 MB / 351.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.01812, allocations: 171.4 kB / 351.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.01818, allocations: 51.72 kB / 351.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.01822, allocations: 15.92 kB / 351.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.01841, allocations: 123.7 kB / 352 MB, free: 13.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.813e-06/0.01841, allocations: 0 / 352 MB, free: 13.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005768/0.01899, allocations: 346.7 kB / 352.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.01902, allocations: 81.11 kB / 352.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/0.01951, allocations: 0.6904 MB / 353.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.01953, allocations: 33.7 kB / 353.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.01977, allocations: 435.1 kB / 353.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.01982, allocations: 91.2 kB / 353.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.01991, allocations: 91.62 kB / 353.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.02009, allocations: 0.5741 MB / 354.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/0.02018, allocations: 74.98 kB / 354.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.0203, allocations: 200.5 kB / 354.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.02049, allocations: 221 kB / 354.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02049, allocations: 0 / 354.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004004/0.02089, allocations: 405.1 kB / 355.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.02093, allocations: 29.7 kB / 355.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.02093, allocations: 4 kB / 355.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.02115, allocations: 67.55 kB / 355.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.02133, allocations: 72.09 kB / 355.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.02269, allocations: 2.103 MB / 357.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.02285, allocations: 35.83 kB / 357.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.02286, allocations: 12 kB / 357.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000164/0.02303, allocations: 213.3 kB / 357.7 MB, free: 7.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001368/0.02316, allocations: 192.7 kB / 357.9 MB, free: 7.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001836/0.02335, allocations: 215.4 kB / 358.1 MB, free: 7.312 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.02335, allocations: 0 / 358.1 MB, free: 7.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003795/0.02373, allocations: 395.9 kB / 358.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.02376, allocations: 40.59 kB / 358.5 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.02376, allocations: 4 kB / 358.5 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.02391, allocations: 55.64 kB / 358.6 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.02404, allocations: 75.78 kB / 358.7 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.02511, allocations: 2.111 MB / 360.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.02525, allocations: 39.7 kB / 360.8 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.02527, allocations: 12 kB / 360.8 MB, free: 4.445 MB / 330.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 (iceP.tokgFuel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.02541, allocations: 288 kB / 361.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.02548, allocations: 79.59 kB / 361.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.02578, allocations: 247.8 kB / 361.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.02578, allocations: 4 kB / 361.4 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.02578, allocations: 0 / 361.4 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.02579, allocations: 3.984 kB / 361.4 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.02651, allocations: 0.6862 MB / 362.1 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.02651, allocations: 0 / 362.1 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.02663, allocations: 47.97 kB / 362.2 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.02677, allocations: 55.58 kB / 362.2 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.02678, allocations: 8 kB / 362.2 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.02779, allocations: 2.099 MB / 364.3 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.0278, allocations: 4 kB / 364.3 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.02825, allocations: 456 kB / 364.8 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.02833, allocations: 71.5 kB / 364.9 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.02837, allocations: 8 kB / 364.9 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.02848, allocations: 15.98 kB / 364.9 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.02857, allocations: 35.94 kB / 364.9 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.02858, allocations: 0 / 364.9 MB, free: 164 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003741/0.02895, allocations: 438.8 kB / 365.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02895, allocations: 0 / 365.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007466/0.0297, allocations: 235.4 kB / 365.6 MB, free: 15.51 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.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 (22): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001306/0.031, allocations: 0.5465 MB / 366.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009424/0.03195, allocations: 0.7994 MB / 366.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.03195, allocations: 0 / 366.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.03219, allocations: 273.2 kB / 367.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.03266, allocations: 118.2 kB / 367.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.03462, allocations: 1.121 MB / 368.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.03476, allocations: 173.3 kB / 368.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.03494, allocations: 64.33 kB / 368.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.03514, allocations: 162.1 kB / 368.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.03514, allocations: 0 / 368.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of Templates: time 0.01205/0.0472, allocations: 8.378 MB / 377.2 MB, free: 4.059 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.097395778167993]