Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001209/0.001209, allocations: 93.06 kB / 19.65 MB, free: 280 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.001213/0.001213, allocations: 173 kB / 23.02 MB, free: 1.551 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.9384/0.9384, allocations: 177.2 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.03357/0.03357, allocations: 6.492 MB / 266.4 MB, free: 6.625 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.276e-06/3.276e-06, allocations: 0 / 338.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.37e-05/3.698e-05, allocations: 6.25 kB / 338.1 MB, free: 11.83 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005093/0.00513, allocations: 3.699 MB / 341.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.007867, allocations: 1.935 MB / 343.7 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003299/0.008197, allocations: 11.94 kB / 343.7 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.00863, allocations: 206.8 kB / 343.9 MB, free: 5.953 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000656/0.009286, allocations: 286.4 kB / 344.2 MB, free: 5.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.009933, allocations: 403 kB / 344.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006563/0.01059, allocations: 0.6547 MB / 345.3 MB, free: 4.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.01083, allocations: 143.2 kB / 345.4 MB, free: 4.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004142/0.01124, allocations: 363.1 kB / 345.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.01159, allocations: 263.2 kB / 346 MB, free: 3.867 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/0.01165, allocations: 60 kB / 346.1 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.01192, allocations: 187.7 kB / 346.3 MB, free: 3.625 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.01208, allocations: 219.3 kB / 346.5 MB, free: 3.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.01223, allocations: 207.4 kB / 346.7 MB, free: 3.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.01292, allocations: 0.6344 MB / 347.3 MB, free: 2.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.01292, allocations: 0 / 347.3 MB, free: 2.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01292, allocations: 0 / 347.3 MB, free: 2.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.01294, allocations: 0 / 347.3 MB, free: 2.57 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001184/0.01412, allocations: 1.147 MB / 348.5 MB, free: 1.375 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.01415, allocations: 8.031 kB / 348.5 MB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.01431, allocations: 116.4 kB / 348.6 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.01483, allocations: 485 kB / 349.1 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.01485, allocations: 33.38 kB / 349.1 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.0149, allocations: 44.33 kB / 349.1 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.01539, allocations: 440.1 kB / 349.6 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.01541, allocations: 0 / 349.6 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.01543, allocations: 16 kB / 349.6 MB, free: 176 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.01545, allocations: 12 kB / 349.6 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.01565, allocations: 129.8 kB / 349.7 MB, free: 36 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.0172, allocations: 1.585 MB / 351.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.01751, allocations: 171.3 kB / 351.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.081e-05/0.01758, allocations: 47.66 kB / 351.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.01761, allocations: 8 kB / 351.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.01777, allocations: 115.2 kB / 351.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.01778, allocations: 0 / 351.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006669/0.01844, allocations: 279.5 kB / 351.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.0185, allocations: 140.4 kB / 352 MB, free: 13.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006127/0.01911, allocations: 0.7221 MB / 352.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.01914, allocations: 33.7 kB / 352.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.01935, allocations: 411.4 kB / 353.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.0194, allocations: 87.28 kB / 353.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.01948, allocations: 83.3 kB / 353.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.01965, allocations: 0.5703 MB / 353.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.01976, allocations: 89.34 kB / 354 MB, free: 11.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.01993, allocations: 271.2 kB / 354.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.02015, allocations: 222.9 kB / 354.5 MB, free: 10.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.02016, allocations: 0 / 354.5 MB, free: 10.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004174/0.02057, allocations: 375.9 kB / 354.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.02061, allocations: 37.69 kB / 354.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.02061, allocations: 7.938 kB / 354.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.02075, allocations: 19.89 kB / 354.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.02092, allocations: 75.91 kB / 355 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.02196, allocations: 1.743 MB / 356.8 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.02211, allocations: 39.77 kB / 356.8 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.02213, allocations: 16.05 kB / 356.8 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001697/0.0223, allocations: 208.5 kB / 357 MB, free: 8.262 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001566/0.02245, allocations: 280.1 kB / 357.3 MB, free: 7.918 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001938/0.02265, allocations: 222.7 kB / 357.5 MB, free: 7.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.562e-06/0.02265, allocations: 0 / 357.5 MB, free: 7.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003811/0.02303, allocations: 387.5 kB / 357.9 MB, free: 7.258 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.02306, allocations: 33.7 kB / 357.9 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.02307, allocations: 3.984 kB / 357.9 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.35e-05/0.02313, allocations: 19.69 kB / 357.9 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.02328, allocations: 79.83 kB / 358 MB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007504/0.02403, allocations: 1.725 MB / 359.7 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.02418, allocations: 43.75 kB / 359.8 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.02419, allocations: 12 kB / 359.8 MB, free: 5.211 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 (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.0001238/0.02431, allocations: 290.4 kB / 360.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.02438, allocations: 71.58 kB / 360.1 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.02469, allocations: 235.2 kB / 360.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.02469, allocations: 12.03 kB / 360.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.02469, allocations: 0 / 360.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.0247, allocations: 0 / 360.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.02505, allocations: 432.2 kB / 360.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.02505, allocations: 0 / 360.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.02517, allocations: 39.97 kB / 360.8 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.353e-05/0.02524, allocations: 19.69 kB / 360.9 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.02525, allocations: 7.984 kB / 360.9 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009345/0.02619, allocations: 1.74 MB / 362.6 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02619, allocations: 0 / 362.6 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.02655, allocations: 323.1 kB / 362.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.02663, allocations: 83.48 kB / 363 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.02667, allocations: 8 kB / 363 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.02676, allocations: 20.11 kB / 363 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.02684, allocations: 23.95 kB / 363.1 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.02685, allocations: 8 kB / 363.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003902/0.02724, allocations: 470.9 kB / 363.5 MB, free: 1.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02724, allocations: 0 / 363.5 MB, free: 1.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000567/0.0278, allocations: 247.4 kB / 363.8 MB, free: 1.023 MB / 330.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.001429/0.02923, allocations: 0.6846 MB / 364.5 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007975/0.03003, allocations: 0.7797 MB / 365.2 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.03004, allocations: 4 kB / 365.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.03022, allocations: 246.3 kB / 365.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.03058, allocations: 118.6 kB / 365.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.03219, allocations: 1.086 MB / 366.7 MB, free: 14.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.0323, allocations: 165.2 kB / 366.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.03246, allocations: 68.22 kB / 366.9 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.602e-05/0.03255, allocations: 40.48 kB / 367 MB, free: 13.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03255, allocations: 0 / 367 MB, free: 13.96 MB / 346.7 MB Notification: Performance of Templates: time 0.0113/0.04385, allocations: 8.423 MB / 375.4 MB, free: 5.605 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1813076990656555]