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.001484/0.001484, allocations: 88.72 kB / 19.44 MB, free: 356 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.001666/0.001666, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.562/1.562, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.04676/0.04676, allocations: 6.471 MB / 266 MB, free: 6.648 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 2.485e-06/2.485e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.404e-05, allocations: 5.125 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004814/0.004848, allocations: 3.678 MB / 341 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.007552, allocations: 1.905 MB / 342.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/0.007949, allocations: 11.94 kB / 342.9 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.00849, allocations: 206.8 kB / 343.1 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008108/0.009301, allocations: 298.3 kB / 343.4 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.01012, allocations: 383 kB / 343.8 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007304/0.01085, allocations: 0.6899 MB / 344.5 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.01132, allocations: 233.8 kB / 344.7 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006438/0.01196, allocations: 410.9 kB / 345.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.01234, allocations: 267.2 kB / 345.4 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.01245, allocations: 60 kB / 345.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.01268, allocations: 127.8 kB / 345.6 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.01285, allocations: 235.2 kB / 345.8 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.01308, allocations: 219.3 kB / 346 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000946/0.01402, allocations: 0.9384 MB / 347 MB, free: 1.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01403, allocations: 4 kB / 347 MB, free: 1.477 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01403, allocations: 0 / 347 MB, free: 1.477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.01405, allocations: 0 / 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.001813/0.01587, allocations: 1.078 MB / 348 MB, free: 368 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.0159, allocations: 8.031 kB / 348 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.0161, allocations: 144.3 kB / 348.2 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009719/0.01707, allocations: 0.5527 MB / 348.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.01714, allocations: 37.38 kB / 348.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.01725, allocations: 48.38 kB / 348.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.01844, allocations: 491.7 kB / 349.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.01847, allocations: 7.891 kB / 349.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.01852, allocations: 20 kB / 349.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.01853, allocations: 16 kB / 349.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.01959, allocations: 351.7 kB / 349.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.02307, allocations: 1.592 MB / 351.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.02411, allocations: 334.7 kB / 351.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.02453, allocations: 128.8 kB / 351.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-05/0.02458, allocations: 7.984 kB / 351.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005929/0.02517, allocations: 191.8 kB / 351.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.635e-06/0.02518, allocations: 4 kB / 351.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.002197/0.02737, allocations: 0.5835 MB / 352.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.02743, allocations: 55.41 kB / 352.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.02894, allocations: 0.9378 MB / 353.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.02901, allocations: 33.7 kB / 353.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.02946, allocations: 384.4 kB / 353.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.0296, allocations: 103.1 kB / 354 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.02977, allocations: 82.17 kB / 354.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002852/0.03006, allocations: 382.8 kB / 354.5 MB, free: 9.738 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.03057, allocations: 162.6 kB / 354.6 MB, free: 9.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.03113, allocations: 237.5 kB / 354.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009539/0.03208, allocations: 364.2 kB / 355.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.03208, allocations: 4 kB / 355.2 MB, free: 8.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001675/0.03376, allocations: 0.5831 MB / 355.8 MB, free: 8.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.418e-05/0.03382, allocations: 37.73 kB / 355.8 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.03383, allocations: 4 kB / 355.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004243/0.03426, allocations: 76.78 kB / 355.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.03462, allocations: 71.89 kB / 356 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.03697, allocations: 1.692 MB / 357.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.03739, allocations: 47.75 kB / 357.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.03745, allocations: 12 kB / 357.7 MB, free: 6.266 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.0004908/0.03794, allocations: 285.7 kB / 358 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.03811, allocations: 75.53 kB / 358.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.03944, allocations: 437 kB / 358.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.03946, allocations: 4 kB / 358.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.03946, allocations: 4 kB / 358.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.03947, allocations: 3.984 kB / 358.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008454/0.04031, allocations: 428.9 kB / 359 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.04031, allocations: 0 / 359 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.04064, allocations: 43.97 kB / 359 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003433/0.04098, allocations: 76.73 kB / 359.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.04102, allocations: 15.98 kB / 359.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.04322, allocations: 1.68 MB / 360.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.04323, allocations: 0 / 360.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.04501, allocations: 0.6098 MB / 361.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.04522, allocations: 87.48 kB / 361.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-05/0.04532, allocations: 8 kB / 361.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.04561, allocations: 27.97 kB / 361.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.04574, allocations: 31.94 kB / 361.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.04576, allocations: 8 kB / 361.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001088/0.04685, allocations: 0.663 MB / 362.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04685, allocations: 0 / 362.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006876/0.04754, allocations: 147.7 kB / 362.3 MB, free: 1.492 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.003282/0.05082, allocations: 0.6579 MB / 363 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.05229, allocations: 0.5174 MB / 363.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.05229, allocations: 0 / 363.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007087/0.053, allocations: 286.9 kB / 363.8 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.05368, allocations: 88.8 kB / 363.9 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.0566, allocations: 1.378 MB / 365.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.05713, allocations: 370.7 kB / 365.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002681/0.0574, allocations: 72.34 kB / 365.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.05755, allocations: 40.48 kB / 365.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.05755, allocations: 7.938 kB / 365.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of Templates: time 0.01676/0.07431, allocations: 6.928 MB / 372.7 MB, free: 7.414 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=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7812519039725885]