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.001432/0.001432, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001616/0.001616, allocations: 161.3 kB / 22.76 MB, free: 1.656 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 1.54/1.54, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.04585/0.04585, allocations: 6.476 MB / 266 MB, free: 6.648 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 2.465e-06/2.465e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.198e-05, allocations: 2.312 kB / 337.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.004236/0.004268, allocations: 3.515 MB / 340.9 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.006784, allocations: 1.899 MB / 342.8 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.00706, allocations: 15.94 kB / 342.8 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.007526, allocations: 206.8 kB / 343 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006305/0.008157, allocations: 278.4 kB / 343.2 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007438/0.008901, allocations: 414.9 kB / 343.6 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.009495, allocations: 0.6508 MB / 344.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.009774, allocations: 147.2 kB / 344.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004489/0.01022, allocations: 375 kB / 344.8 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.01053, allocations: 235.3 kB / 345 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.01059, allocations: 52 kB / 345.1 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.01077, allocations: 123.8 kB / 345.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.01093, allocations: 219.3 kB / 345.4 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.0111, allocations: 191.4 kB / 345.6 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007654/0.01186, allocations: 0.8566 MB / 346.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01187, allocations: 0 / 346.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01187, allocations: 0 / 346.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.01188, allocations: 0 / 346.5 MB, free: 1.957 MB / 266.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.00157/0.01345, allocations: 1.027 MB / 347.5 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.01349, allocations: 12.03 kB / 347.5 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.01365, allocations: 116.4 kB / 347.6 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/0.01432, allocations: 0.5372 MB / 348.2 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.01435, allocations: 29.38 kB / 348.2 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.01441, allocations: 40.33 kB / 348.2 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009903/0.0154, allocations: 458.3 kB / 348.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.01542, allocations: 0 / 348.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.01547, allocations: 12 kB / 348.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.01548, allocations: 11.98 kB / 348.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000958/0.01644, allocations: 311.7 kB / 349 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.01939, allocations: 1.446 MB / 350.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.02046, allocations: 318.8 kB / 350.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.02085, allocations: 116.8 kB / 350.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.02089, allocations: 4 kB / 350.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005639/0.02145, allocations: 189.5 kB / 351.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.933e-06/0.02145, allocations: 0 / 351.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.00169/0.02315, allocations: 481.7 kB / 351.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.02323, allocations: 81.11 kB / 351.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.02488, allocations: 0.9338 MB / 352.5 MB, free: 11.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.395e-05/0.02497, allocations: 29.7 kB / 352.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.02543, allocations: 352.5 kB / 352.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.02555, allocations: 91.31 kB / 353 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.02571, allocations: 77.61 kB / 353.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002845/0.02599, allocations: 386.7 kB / 353.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.02647, allocations: 162.5 kB / 353.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005556/0.02703, allocations: 259 kB / 353.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009247/0.02795, allocations: 359.8 kB / 354.2 MB, free: 9.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.02796, allocations: 4 kB / 354.2 MB, free: 9.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001378/0.02934, allocations: 0.52 MB / 354.7 MB, free: 9.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.02938, allocations: 41.92 kB / 354.8 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.0294, allocations: 4 kB / 354.8 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.02959, allocations: 20.84 kB / 354.8 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.02998, allocations: 83.81 kB / 354.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.03133, allocations: 1.244 MB / 356.1 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.03173, allocations: 59.73 kB / 356.2 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.03176, allocations: 12 kB / 356.2 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007471/0.03251, allocations: 369.7 kB / 356.6 MB, free: 7.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000497/0.03301, allocations: 239.8 kB / 356.8 MB, free: 7.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008304/0.03384, allocations: 324.5 kB / 357.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.03384, allocations: 8 kB / 357.1 MB, free: 6.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001289/0.03513, allocations: 0.5006 MB / 357.6 MB, free: 6.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.03517, allocations: 33.7 kB / 357.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.03518, allocations: 0 / 357.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.03529, allocations: 29.06 kB / 357.7 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.03563, allocations: 75.89 kB / 357.8 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.03697, allocations: 1.249 MB / 359 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.03743, allocations: 47.91 kB / 359.1 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.03747, allocations: 16 kB / 359.1 MB, free: 4.68 MB / 282.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.0002844/0.03775, allocations: 196.1 kB / 359.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.03795, allocations: 75.58 kB / 359.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.03919, allocations: 377.1 kB / 359.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.03919, allocations: 0 / 359.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.0392, allocations: 0 / 359.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.03921, allocations: 3.984 kB / 359.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006528/0.03986, allocations: 393 kB / 360.1 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.03986, allocations: 0 / 360.1 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.04019, allocations: 59.89 kB / 360.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.0403, allocations: 16.84 kB / 360.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.04033, allocations: 12 kB / 360.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.04157, allocations: 1.245 MB / 361.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.04157, allocations: 0 / 361.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.04315, allocations: 0.5319 MB / 362 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.04334, allocations: 87.48 kB / 362 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.834e-05/0.04343, allocations: 8 kB / 362.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.04374, allocations: 27.95 kB / 362.1 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.04384, allocations: 23.95 kB / 362.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.04387, allocations: 16 kB / 362.1 MB, free: 1.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001157/0.04502, allocations: 0.663 MB / 362.8 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04502, allocations: 0 / 362.8 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000939/0.04596, allocations: 215.5 kB / 363 MB, free: 0.5859 MB / 282.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.003396/0.04936, allocations: 0.6559 MB / 363.6 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002321/0.05168, allocations: 0.8447 MB / 364.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.05168, allocations: 4.062 kB / 364.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006374/0.05232, allocations: 254.3 kB / 364.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.05314, allocations: 108.3 kB / 364.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.05613, allocations: 1.283 MB / 366.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.05668, allocations: 341.7 kB / 366.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003485/0.05703, allocations: 92.2 kB / 366.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.05718, allocations: 44.48 kB / 366.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.05718, allocations: 0 / 366.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of Templates: time 0.0171/0.07428, allocations: 6.96 MB / 373.6 MB, free: 6.254 MB / 298.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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.747083376976661]