Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.00142/0.00142, 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.001663/0.001663, allocations: 161.3 kB / 22.75 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.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.04324/0.04324, allocations: 6.488 MB / 266.1 MB, free: 6.656 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.905e-05, allocations: 2.312 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004179/0.004208, allocations: 3.686 MB / 341 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.006646, allocations: 1.909 MB / 342.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.006924, allocations: 11.94 kB / 343 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.007378, allocations: 206.7 kB / 343.2 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006778/0.008056, allocations: 290.3 kB / 343.4 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007276/0.008784, allocations: 387 kB / 343.8 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006387/0.009422, allocations: 0.6976 MB / 344.5 MB, free: 3.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.009793, allocations: 225.8 kB / 344.7 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004535/0.01025, allocations: 411 kB / 345.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.01055, allocations: 263.2 kB / 345.4 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.01062, allocations: 68 kB / 345.5 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.01081, allocations: 127.8 kB / 345.6 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.01095, allocations: 235.2 kB / 345.8 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.01113, allocations: 219.3 kB / 346 MB, free: 2.418 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007668/0.01189, allocations: 0.9345 MB / 347 MB, free: 1.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.0119, allocations: 0 / 347 MB, free: 1.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.0119, allocations: 0 / 347 MB, free: 1.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.01191, allocations: 4 kB / 347 MB, free: 1.477 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.001532/0.01344, allocations: 1.085 MB / 348.1 MB, free: 360 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.01347, allocations: 8.031 kB / 348.1 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.01364, allocations: 128.3 kB / 348.2 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.01449, allocations: 0.5604 MB / 348.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.01454, allocations: 37.38 kB / 348.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.396e-05/0.01464, allocations: 48.38 kB / 348.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.01571, allocations: 487.8 kB / 349.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.01573, allocations: 7.953 kB / 349.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.01578, allocations: 20 kB / 349.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.0158, allocations: 11.98 kB / 349.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009829/0.01678, allocations: 355.7 kB / 349.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.01979, allocations: 1.596 MB / 351.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.02071, allocations: 322.7 kB / 351.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.02111, allocations: 136.8 kB / 351.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.02115, allocations: 8 kB / 351.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/0.02169, allocations: 199.8 kB / 351.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.794e-06/0.02169, allocations: 0 / 351.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.001992/0.02368, allocations: 0.5914 MB / 352.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.02374, allocations: 59.41 kB / 352.6 MB, free: 11.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.02529, allocations: 0.93 MB / 353.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.02533, allocations: 33.7 kB / 353.6 MB, free: 10.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.02572, allocations: 380.3 kB / 353.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.02583, allocations: 103.1 kB / 354 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.02598, allocations: 82.19 kB / 354.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002531/0.02624, allocations: 382.8 kB / 354.5 MB, free: 9.738 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.02668, allocations: 166.6 kB / 354.6 MB, free: 9.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.02719, allocations: 233.5 kB / 354.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000874/0.02806, allocations: 368.2 kB / 355.2 MB, free: 8.918 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.02806, allocations: 0 / 355.2 MB, free: 8.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00143/0.02949, allocations: 0.5868 MB / 355.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.02954, allocations: 35.89 kB / 355.9 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.02955, allocations: 3.984 kB / 355.9 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/0.02994, allocations: 80.95 kB / 355.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.03028, allocations: 71.89 kB / 356 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.03244, allocations: 1.688 MB / 357.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.03279, allocations: 55.84 kB / 357.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.03283, allocations: 16 kB / 357.8 MB, free: 6.254 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.0003979/0.03322, allocations: 269.6 kB / 358 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.03336, allocations: 83.52 kB / 358.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.03457, allocations: 433.1 kB / 358.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.03458, allocations: 4 kB / 358.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.03458, allocations: 0 / 358.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.03459, allocations: 4 kB / 358.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.03522, allocations: 428.9 kB / 359 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.03522, allocations: 0 / 359 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.03551, allocations: 43.91 kB / 359 MB, free: 4.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003179/0.03583, allocations: 80.78 kB / 359.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.03585, allocations: 8.125 kB / 359.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.03816, allocations: 1.692 MB / 360.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.03816, allocations: 0 / 360.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.03982, allocations: 0.6059 MB / 361.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.04001, allocations: 87.48 kB / 361.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.04007, allocations: 8 kB / 361.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.04032, allocations: 23.97 kB / 361.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.04044, allocations: 31.94 kB / 361.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.04046, allocations: 8 kB / 361.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001005/0.04147, allocations: 0.6669 MB / 362.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04147, allocations: 0 / 362.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006387/0.04211, allocations: 139.7 kB / 362.3 MB, free: 1.5 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.003207/0.04531, allocations: 0.6545 MB / 363 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.04669, allocations: 0.5216 MB / 363.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.04669, allocations: 0 / 363.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.04734, allocations: 282.4 kB / 363.8 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.04797, allocations: 95.81 kB / 363.9 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.05062, allocations: 1.385 MB / 365.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.0511, allocations: 366.7 kB / 365.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.05133, allocations: 76.33 kB / 365.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.05146, allocations: 44.44 kB / 365.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.05146, allocations: 0 / 365.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Templates: time 0.01588/0.06734, allocations: 6.943 MB / 372.7 MB, free: 7.395 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.444417051970959]