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.001012/0.001012, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001079/0.001079, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9803/0.9803, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.02945/0.02945, allocations: 6.485 MB / 267.5 MB, free: 6.477 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.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 1.463e-06/1.463e-06, allocations: 0 / 339.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.414e-05, allocations: 2.312 kB / 339.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.003441/0.003455, allocations: 3.625 MB / 342.9 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.005282, allocations: 1.928 MB / 344.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.005509, allocations: 11.94 kB / 344.9 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.005865, allocations: 202.7 kB / 345.1 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.006396, allocations: 286.4 kB / 345.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.00696, allocations: 399.1 kB / 345.7 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.007439, allocations: 0.6585 MB / 346.4 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.007647, allocations: 147.2 kB / 346.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.007928, allocations: 363.1 kB / 346.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.008173, allocations: 267.2 kB / 347.2 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.008224, allocations: 56 kB / 347.2 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.008413, allocations: 179.7 kB / 347.4 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.00853, allocations: 227.2 kB / 347.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.008638, allocations: 207.4 kB / 347.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.009123, allocations: 0.6383 MB / 348.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.009125, allocations: 0 / 348.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.009126, allocations: 0 / 348.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.009141, allocations: 4 kB / 348.5 MB, free: 1.32 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.0008491/0.00999, allocations: 1.147 MB / 349.6 MB, free: 128 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.612e-05/0.01002, allocations: 12.03 kB / 349.6 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.496e-05/0.01011, allocations: 112.4 kB / 349.7 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.01055, allocations: 460.9 kB / 350.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.01057, allocations: 29.38 kB / 350.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.01062, allocations: 52.3 kB / 350.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.01098, allocations: 420.1 kB / 350.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.011, allocations: 0 / 350.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.01102, allocations: 16 kB / 350.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.01103, allocations: 8 kB / 350.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.01118, allocations: 102.8 kB / 350.8 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.01258, allocations: 1.45 MB / 352.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.01283, allocations: 163.4 kB / 352.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.01288, allocations: 39.67 kB / 352.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.0129, allocations: 11.92 kB / 352.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.01304, allocations: 108.9 kB / 352.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.01304, allocations: 3.938 kB / 352.6 MB, free: 13 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004207/0.01346, allocations: 268.4 kB / 352.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.01351, allocations: 132.5 kB / 353 MB, free: 12.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.01402, allocations: 0.6944 MB / 353.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.01405, allocations: 29.7 kB / 353.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.01429, allocations: 419.2 kB / 354.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.01434, allocations: 95.23 kB / 354.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.689e-05/0.01443, allocations: 79.31 kB / 354.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.01461, allocations: 0.578 MB / 354.8 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.01469, allocations: 73.34 kB / 354.9 MB, free: 10.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.01484, allocations: 263.2 kB / 355.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.01501, allocations: 215.1 kB / 355.4 MB, free: 9.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01501, allocations: 4 kB / 355.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003365/0.01535, allocations: 355.7 kB / 355.7 MB, free: 9.605 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.01537, allocations: 37.69 kB / 355.8 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.01538, allocations: 0 / 355.8 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.392e-05/0.01547, allocations: 23.91 kB / 355.8 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.01563, allocations: 75.89 kB / 355.9 MB, free: 9.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007131/0.01634, allocations: 1.713 MB / 357.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.01648, allocations: 43.75 kB / 357.6 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.0165, allocations: 12 kB / 357.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001416/0.01664, allocations: 200.6 kB / 357.8 MB, free: 7.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001312/0.01677, allocations: 260 kB / 358.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001461/0.01692, allocations: 202.8 kB / 358.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.01692, allocations: 0 / 358.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003116/0.01723, allocations: 355.7 kB / 358.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.01725, allocations: 41.62 kB / 358.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.01725, allocations: 0 / 358.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.667e-05/0.01731, allocations: 27.67 kB / 358.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.01744, allocations: 67.91 kB / 358.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006523/0.01809, allocations: 1.706 MB / 360.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.01823, allocations: 39.83 kB / 360.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.01824, allocations: 11.98 kB / 360.5 MB, free: 4.422 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 (iceT.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 (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.0001163/0.01836, allocations: 302.6 kB / 360.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.01842, allocations: 79.56 kB / 360.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.01867, allocations: 211.5 kB / 361.1 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01867, allocations: 3.984 kB / 361.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.01867, allocations: 4 kB / 361.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01868, allocations: 4 kB / 361.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.01894, allocations: 324.8 kB / 361.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01894, allocations: 0 / 361.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.01907, allocations: 51.91 kB / 361.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.533e-05/0.01911, allocations: 15.69 kB / 361.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01912, allocations: 4 kB / 361.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005874/0.01971, allocations: 1.706 MB / 363.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01971, allocations: 7.938 kB / 363.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.02002, allocations: 299.2 kB / 363.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.763e-05/0.02011, allocations: 71.5 kB / 363.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.02017, allocations: 15.92 kB / 363.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.02029, allocations: 20.11 kB / 363.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.02034, allocations: 23.95 kB / 363.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.02035, allocations: 4 kB / 363.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.02064, allocations: 434.8 kB / 364.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02064, allocations: 0 / 364.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.02107, allocations: 247.3 kB / 364.3 MB, free: 464 kB / 282.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.001388/0.02246, allocations: 0.6956 MB / 365 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005854/0.02305, allocations: 0.7484 MB / 365.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.02305, allocations: 0.875 kB / 365.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.0232, allocations: 237.4 kB / 366 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.02352, allocations: 109.6 kB / 366.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.02493, allocations: 1.085 MB / 367.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.02503, allocations: 161.2 kB / 367.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.02518, allocations: 68.22 kB / 367.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.02538, allocations: 178.1 kB / 367.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02538, allocations: 4 kB / 367.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of Templates: time 0.01083/0.03621, allocations: 8.75 MB / 376.3 MB, free: 4.609 MB / 298.7 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=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.075117322150618]