Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.0009168/0.0009168, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009623/0.0009623, allocations: 169 kB / 23.02 MB, free: 1.543 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.9813/0.9813, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.04434/0.04434, allocations: 6.476 MB / 266.4 MB, free: 6.633 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.827e-06/3.827e-06, allocations: 0 / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.548e-05, allocations: 2.312 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004577/0.004613, allocations: 3.889 MB / 342 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.006696, allocations: 1.944 MB / 343.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.00694, allocations: 11.94 kB / 343.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.007372, allocations: 218.7 kB / 344.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.007974, allocations: 290.3 kB / 344.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.008577, allocations: 383.1 kB / 344.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005378/0.009115, allocations: 0.7015 MB / 345.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.009459, allocations: 217.9 kB / 345.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.009917, allocations: 418.8 kB / 346.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.01021, allocations: 271.2 kB / 346.4 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.01027, allocations: 60 kB / 346.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.01041, allocations: 123.9 kB / 346.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.01057, allocations: 239.2 kB / 346.8 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.0107, allocations: 219.3 kB / 347 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.01127, allocations: 0.6148 MB / 347.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01128, allocations: 0 / 347.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01128, allocations: 0 / 347.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.01129, allocations: 0 / 347.6 MB, free: 1.199 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001312/0.0126, allocations: 1.182 MB / 348.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.01266, allocations: 12.03 kB / 348.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.01287, allocations: 132.3 kB / 348.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005897/0.01346, allocations: 496.7 kB / 349.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.0135, allocations: 37.38 kB / 349.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.01357, allocations: 48.38 kB / 349.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.01411, allocations: 395.7 kB / 349.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.01413, allocations: 3.953 kB / 349.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.01416, allocations: 24 kB / 349.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.01417, allocations: 12 kB / 349.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.01443, allocations: 157.8 kB / 350.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.01617, allocations: 1.713 MB / 351.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.01652, allocations: 202 kB / 352 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.067e-05/0.01661, allocations: 59.66 kB / 352.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.01664, allocations: 4 kB / 352.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.01684, allocations: 133.5 kB / 352.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.01684, allocations: 0 / 352.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007058/0.01755, allocations: 380.6 kB / 352.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.01759, allocations: 55.41 kB / 352.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.0182, allocations: 0.7143 MB / 353.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.01823, allocations: 37.64 kB / 353.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.01848, allocations: 443.2 kB / 353.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.766e-05/0.01855, allocations: 107.1 kB / 353.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.01865, allocations: 87.84 kB / 354 MB, free: 10.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.01888, allocations: 0.5665 MB / 354.6 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.01901, allocations: 82.66 kB / 354.6 MB, free: 9.906 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.01917, allocations: 176.1 kB / 354.8 MB, free: 9.691 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.01942, allocations: 247 kB / 355.1 MB, free: 9.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.01942, allocations: 0 / 355.1 MB, free: 9.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004894/0.01991, allocations: 427.9 kB / 355.5 MB, free: 8.969 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.01994, allocations: 33.7 kB / 355.5 MB, free: 8.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01995, allocations: 4.219 kB / 355.5 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002308/0.02018, allocations: 63.64 kB / 355.6 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.02035, allocations: 71.83 kB / 355.6 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.02159, allocations: 2.145 MB / 357.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.02174, allocations: 39.77 kB / 357.8 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.02176, allocations: 16 kB / 357.8 MB, free: 6.469 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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.0001515/0.02192, allocations: 180.5 kB / 358 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.02198, allocations: 83.52 kB / 358.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.02236, allocations: 276 kB / 358.4 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.02237, allocations: 7.984 kB / 358.4 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.02237, allocations: 4.031 kB / 358.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.02237, allocations: 0 / 358.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.02276, allocations: 448.2 kB / 358.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.02276, allocations: 0 / 358.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.02289, allocations: 44.09 kB / 358.9 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001387/0.02302, allocations: 59.64 kB / 358.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.02304, allocations: 8 kB / 358.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.0241, allocations: 2.133 MB / 361.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0241, allocations: 0 / 361.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.02455, allocations: 386.6 kB / 361.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.02463, allocations: 83.44 kB / 361.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.02466, allocations: 12.03 kB / 361.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.02475, allocations: 16.17 kB / 361.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.02484, allocations: 39.94 kB / 361.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.02485, allocations: 4 kB / 361.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003778/0.02523, allocations: 466.9 kB / 362 MB, free: 2.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02523, allocations: 0 / 362 MB, free: 2.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.02557, allocations: 143.6 kB / 362.2 MB, free: 1.918 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.001288/0.02686, allocations: 0.5553 MB / 362.7 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005595/0.02742, allocations: 461.8 kB / 363.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.02742, allocations: 0 / 363.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.02766, allocations: 281.8 kB / 363.5 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.028, allocations: 107.8 kB / 363.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.02968, allocations: 1.184 MB / 364.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.02979, allocations: 165.2 kB / 364.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.02991, allocations: 56.34 kB / 365 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.02999, allocations: 40.5 kB / 365 MB, free: 15.2 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02999, allocations: 0 / 365 MB, free: 15.2 MB / 298.7 MB Notification: Performance of Templates: time 0.01098/0.04097, allocations: 7.306 MB / 372.3 MB, free: 7.945 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.203942089341581]