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.001219/0.001219, 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.001621/0.001621, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9602/0.9602, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.02731/0.02731, allocations: 6.482 MB / 266.4 MB, free: 6.629 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.374e-06/2.374e-06, allocations: 0 / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.396e-05, allocations: 4.703 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.003436/0.00346, allocations: 3.824 MB / 341.9 MB, free: 6.938 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.005267, allocations: 1.959 MB / 343.9 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.005473, allocations: 15.88 kB / 343.9 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.005844, allocations: 214.7 kB / 344.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.006317, allocations: 290.3 kB / 344.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.006793, allocations: 415 kB / 344.8 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.007233, allocations: 0.682 MB / 345.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.007473, allocations: 168.2 kB / 345.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.007838, allocations: 395 kB / 346 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.008108, allocations: 255.2 kB / 346.3 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.008157, allocations: 56 kB / 346.3 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.008297, allocations: 123.8 kB / 346.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.008417, allocations: 223.2 kB / 346.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.008534, allocations: 207.3 kB / 346.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.009029, allocations: 0.5876 MB / 347.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.009032, allocations: 4 kB / 347.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.009033, allocations: 0 / 347.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.00904, allocations: 0 / 347.4 MB, free: 1.371 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009541/0.009994, allocations: 1.158 MB / 348.6 MB, free: 172 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.01003, allocations: 8.031 kB / 348.6 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.01013, allocations: 120.4 kB / 348.7 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/0.01065, allocations: 488.9 kB / 349.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.01068, allocations: 29.38 kB / 349.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.01074, allocations: 44.36 kB / 349.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.01121, allocations: 393.3 kB / 349.7 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.01123, allocations: 4 kB / 349.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.01125, allocations: 12 kB / 349.7 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.01126, allocations: 15.94 kB / 349.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.01149, allocations: 145.8 kB / 349.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.01301, allocations: 1.623 MB / 351.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.01339, allocations: 200.4 kB / 351.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/0.01348, allocations: 47.67 kB / 351.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.01351, allocations: 11.98 kB / 351.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.0137, allocations: 127.5 kB / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.344e-06/0.0137, allocations: 0 / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006907/0.01439, allocations: 368.9 kB / 352.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.01443, allocations: 85.09 kB / 352.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.01503, allocations: 0.7104 MB / 353 MB, free: 11.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.01505, allocations: 29.7 kB / 353 MB, free: 11.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.01529, allocations: 443.2 kB / 353.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.01535, allocations: 87.22 kB / 353.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.01543, allocations: 91.67 kB / 353.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.01559, allocations: 0.5665 MB / 354.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.01575, allocations: 86.98 kB / 354.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.01589, allocations: 208.6 kB / 354.5 MB, free: 9.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.01611, allocations: 252.9 kB / 354.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01612, allocations: 0 / 354.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004443/0.01656, allocations: 417.1 kB / 355.1 MB, free: 9.273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.01659, allocations: 29.7 kB / 355.2 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.0166, allocations: 7.938 kB / 355.2 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.01681, allocations: 71.84 kB / 355.2 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.01697, allocations: 71.91 kB / 355.3 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.01812, allocations: 2.133 MB / 357.4 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.01828, allocations: 47.8 kB / 357.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.0183, allocations: 12 kB / 357.5 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001825/0.01848, allocations: 217.4 kB / 357.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001398/0.01862, allocations: 204.6 kB / 357.9 MB, free: 6.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002122/0.01883, allocations: 231.4 kB / 358.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.01884, allocations: 4.031 kB / 358.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0004047/0.01924, allocations: 423.7 kB / 358.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.01926, allocations: 33.7 kB / 358.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.01926, allocations: 4.188 kB / 358.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.0194, allocations: 63.86 kB / 358.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.01954, allocations: 71.89 kB / 358.7 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.02065, allocations: 2.137 MB / 360.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.02079, allocations: 35.81 kB / 360.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.0208, allocations: 16.03 kB / 360.9 MB, free: 3.105 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,iceP.tokgFuel.local_reset) * 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.0001146/0.02091, allocations: 284 kB / 361.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.02098, allocations: 79.53 kB / 361.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.02132, allocations: 276 kB / 361.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02132, allocations: 192 / 361.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.02132, allocations: 4 kB / 361.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.02133, allocations: 0 / 361.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007354/0.02206, allocations: 0.8173 MB / 362.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.02206, allocations: 0 / 362.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.02219, allocations: 43.91 kB / 362.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.02231, allocations: 59.64 kB / 362.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.02233, allocations: 4 kB / 362.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009365/0.02326, allocations: 2.145 MB / 364.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.02326, allocations: 0 / 364.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.02371, allocations: 472.4 kB / 365.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.02379, allocations: 79.5 kB / 365.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.02383, allocations: 11.94 kB / 365.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.02394, allocations: 24 kB / 365.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.024, allocations: 27.89 kB / 365.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.02402, allocations: 12 kB / 365.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003593/0.02438, allocations: 462.9 kB / 365.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02438, allocations: 0 / 365.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005252/0.0249, allocations: 235.4 kB / 365.9 MB, free: 13.9 MB / 298.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.001226/0.02613, allocations: 0.562 MB / 366.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009844/0.02711, allocations: 0.831 MB / 367.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02711, allocations: 0.875 kB / 367.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.02731, allocations: 281.2 kB / 367.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.02769, allocations: 98.52 kB / 367.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.02925, allocations: 1.13 MB / 368.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.02936, allocations: 165.3 kB / 369 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.02949, allocations: 76.31 kB / 369 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.02957, allocations: 44.48 kB / 369.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02957, allocations: 0 / 369.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of Templates: time 0.01041/0.03998, allocations: 7.813 MB / 376.9 MB, free: 3.047 MB / 298.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.0414620358496904]