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.000842/0.000842, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009319/0.0009319, allocations: 173 kB / 23.49 MB, free: 1.062 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.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.02633/0.02633, allocations: 6.481 MB / 266.8 MB, free: 6.664 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 1.633e-06/1.633e-06, allocations: 0 / 338.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.697e-05, allocations: 13.2 kB / 338.1 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004047/0.004064, allocations: 3.875 MB / 342 MB, free: 8.266 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.006161, allocations: 1.932 MB / 343.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.006388, allocations: 11.94 kB / 343.9 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.006839, allocations: 218.7 kB / 344.1 MB, free: 6.102 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005797/0.007418, allocations: 298.3 kB / 344.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.007985, allocations: 375.1 kB / 344.8 MB, free: 5.441 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006003/0.008585, allocations: 0.6976 MB / 345.5 MB, free: 4.742 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.008938, allocations: 217.9 kB / 345.7 MB, free: 4.531 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005176/0.009456, allocations: 422.8 kB / 346.1 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.009796, allocations: 267.2 kB / 346.4 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.805e-05/0.009864, allocations: 60 kB / 346.4 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.01003, allocations: 123.9 kB / 346.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.01024, allocations: 239.2 kB / 346.8 MB, free: 3.441 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.01043, allocations: 219.3 kB / 347 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.01125, allocations: 0.6187 MB / 347.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01125, allocations: 0 / 347.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01125, allocations: 0 / 347.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.01126, allocations: 0 / 347.6 MB, free: 2.605 MB / 314.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.00115/0.01241, allocations: 1.178 MB / 348.8 MB, free: 1.383 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.01245, allocations: 12.03 kB / 348.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.01259, allocations: 132.3 kB / 348.9 MB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.01307, allocations: 0.4929 MB / 349.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.01311, allocations: 37.38 kB / 349.5 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.01316, allocations: 52.33 kB / 349.5 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.01366, allocations: 395.7 kB / 349.9 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.01368, allocations: 4 kB / 349.9 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.01371, allocations: 20 kB / 349.9 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.01372, allocations: 12 kB / 349.9 MB, free: 184 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.01398, allocations: 161.8 kB / 350.1 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.01572, allocations: 1.705 MB / 351.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.01604, allocations: 203.2 kB / 352 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.271e-05/0.01613, allocations: 55.66 kB / 352.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.01616, allocations: 4 kB / 352.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.01636, allocations: 137 kB / 352.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/0.01636, allocations: 0 / 352.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007343/0.01709, allocations: 376.6 kB / 352.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.01713, allocations: 55.41 kB / 352.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.01774, allocations: 0.7142 MB / 353.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.01777, allocations: 37.7 kB / 353.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.01802, allocations: 447.2 kB / 353.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/0.01808, allocations: 99.11 kB / 353.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.01818, allocations: 91.8 kB / 354 MB, free: 11.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.01838, allocations: 0.5665 MB / 354.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.0185, allocations: 82.66 kB / 354.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.01865, allocations: 183.9 kB / 354.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.01889, allocations: 239 kB / 355.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01889, allocations: 0 / 355.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000498/0.01939, allocations: 419.9 kB / 355.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.01944, allocations: 37.69 kB / 355.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01945, allocations: 224 / 355.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.01968, allocations: 67.64 kB / 355.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.01984, allocations: 75.78 kB / 355.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.02098, allocations: 2.145 MB / 357.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.02112, allocations: 43.77 kB / 357.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.02113, allocations: 12 kB / 357.8 MB, free: 7.871 MB / 330.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.0001413/0.02128, allocations: 180.5 kB / 358 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.02134, allocations: 79.53 kB / 358.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.02172, allocations: 289 kB / 358.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.02172, allocations: 4 kB / 358.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02172, allocations: 4.031 kB / 358.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.02173, allocations: 3.984 kB / 358.4 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.02209, allocations: 448.2 kB / 358.8 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.02209, allocations: 0 / 358.8 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.02222, allocations: 39.91 kB / 358.9 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.02236, allocations: 59.64 kB / 358.9 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.02237, allocations: 8 kB / 358.9 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.0234, allocations: 2.133 MB / 361.1 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0234, allocations: 0 / 361.1 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.02385, allocations: 377.6 kB / 361.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.02392, allocations: 91.36 kB / 361.5 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.02396, allocations: 16.03 kB / 361.5 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.02405, allocations: 11.98 kB / 361.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.02413, allocations: 31.94 kB / 361.6 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.02414, allocations: 12 kB / 361.6 MB, free: 3.906 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000376/0.02452, allocations: 462.9 kB / 362 MB, free: 3.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02452, allocations: 0 / 362 MB, free: 3.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.02485, allocations: 143.6 kB / 362.2 MB, free: 3.32 MB / 330.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.001279/0.02613, allocations: 0.5719 MB / 362.8 MB, free: 2.984 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005193/0.02665, allocations: 465.8 kB / 363.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02665, allocations: 0 / 363.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.02685, allocations: 269.8 kB / 363.5 MB, free: 2.207 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.02717, allocations: 105.6 kB / 363.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.02867, allocations: 1.184 MB / 364.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.02877, allocations: 165.2 kB / 364.9 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.02888, allocations: 60.33 kB / 365 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.02895, allocations: 40.5 kB / 365 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02896, allocations: 4 kB / 365 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of Templates: time 0.009469/0.03842, allocations: 6.967 MB / 372 MB, free: 9.676 MB / 346.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=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.124664504081011]