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.0009172/0.0009172, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.0009671/0.0009671, 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 1.019/1.019, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02704/0.02704, allocations: 6.495 MB / 267.5 MB, free: 6.465 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.815e-06/2.815e-06, allocations: 0 / 339.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/3.074e-05, allocations: 2.312 kB / 339.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005467/0.005498, allocations: 3.812 MB / 343.1 MB, free: 7.723 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.007853, allocations: 1.932 MB / 345.1 MB, free: 5.785 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.008094, allocations: 11.94 kB / 345.1 MB, free: 5.773 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.008524, allocations: 214.6 kB / 345.3 MB, free: 5.562 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000589/0.009113, allocations: 302.3 kB / 345.6 MB, free: 5.266 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.009726, allocations: 375.1 kB / 345.9 MB, free: 4.898 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000635/0.01036, allocations: 0.6977 MB / 346.6 MB, free: 4.199 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/0.01072, allocations: 221.8 kB / 346.9 MB, free: 3.984 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004489/0.01117, allocations: 418.9 kB / 347.3 MB, free: 3.574 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.01148, allocations: 263.2 kB / 347.5 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.01154, allocations: 64 kB / 347.6 MB, free: 3.254 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.01171, allocations: 123.8 kB / 347.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.01188, allocations: 231.2 kB / 347.9 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.01203, allocations: 227.3 kB / 348.2 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.01265, allocations: 0.6187 MB / 348.8 MB, free: 2.062 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.01265, allocations: 0 / 348.8 MB, free: 2.062 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01265, allocations: 0 / 348.8 MB, free: 2.062 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.01266, allocations: 0 / 348.8 MB, free: 2.062 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.001132/0.01379, allocations: 1.181 MB / 350 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.01383, allocations: 8.031 kB / 350 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.01397, allocations: 132.3 kB / 350.1 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.01445, allocations: 480.8 kB / 350.6 MB, free: 204 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.01449, allocations: 37.38 kB / 350.6 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.01455, allocations: 52.33 kB / 350.7 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.01497, allocations: 371.7 kB / 351 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.01499, allocations: 4 kB / 351 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.01501, allocations: 16 kB / 351 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.01502, allocations: 8 kB / 351 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.01519, allocations: 134.8 kB / 351.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.01668, allocations: 1.581 MB / 352.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.01694, allocations: 183.2 kB / 352.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.345e-05/0.017, allocations: 47.66 kB / 353 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.01703, allocations: 8 kB / 353 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.0172, allocations: 128.9 kB / 353.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.0172, allocations: 0 / 353.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006271/0.01783, allocations: 352.5 kB / 353.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.01786, allocations: 55.41 kB / 353.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.01836, allocations: 0.6866 MB / 354.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.01838, allocations: 33.7 kB / 354.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.01863, allocations: 447 kB / 354.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.01869, allocations: 111.1 kB / 354.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/0.01879, allocations: 95.73 kB / 354.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.01897, allocations: 0.5741 MB / 355.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.01905, allocations: 66.66 kB / 355.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.01917, allocations: 175.9 kB / 355.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.01937, allocations: 219 kB / 355.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01937, allocations: 4 kB / 355.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004232/0.0198, allocations: 395.8 kB / 356.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.01983, allocations: 37.69 kB / 356.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01984, allocations: 4 kB / 356.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.02002, allocations: 59.86 kB / 356.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.02017, allocations: 67.91 kB / 356.5 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.02136, allocations: 2.107 MB / 358.6 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.02151, allocations: 47.8 kB / 358.6 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.02153, allocations: 8 kB / 358.6 MB, free: 7.723 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 (ice.tokgFuel.local_reset,stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1) * 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.0001378/0.02167, allocations: 187.2 kB / 358.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.02173, allocations: 83.45 kB / 358.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.02204, allocations: 265.1 kB / 359.1 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02205, allocations: 3.984 kB / 359.1 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.02205, allocations: 3.938 kB / 359.1 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.02206, allocations: 8 kB / 359.1 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.02237, allocations: 336.8 kB / 359.5 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.02237, allocations: 0 / 359.5 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.02249, allocations: 39.98 kB / 359.5 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.02262, allocations: 63.81 kB / 359.6 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.02263, allocations: 4 kB / 359.6 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009713/0.0236, allocations: 2.103 MB / 361.7 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.0236, allocations: 0 / 361.7 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.02397, allocations: 349.6 kB / 362 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.02403, allocations: 71.5 kB / 362.1 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.02406, allocations: 4 kB / 362.1 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.953e-05/0.02415, allocations: 24.2 kB / 362.1 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.02421, allocations: 39.88 kB / 362.2 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.02422, allocations: 4 kB / 362.2 MB, free: 3.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002724/0.02449, allocations: 430.8 kB / 362.6 MB, free: 3.559 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02449, allocations: 0 / 362.6 MB, free: 3.559 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.02484, allocations: 151.5 kB / 362.7 MB, free: 3.41 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.001246/0.02608, allocations: 0.5644 MB / 363.3 MB, free: 3.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.02649, allocations: 433.9 kB / 363.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02649, allocations: 0 / 363.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.02668, allocations: 269.8 kB / 364 MB, free: 2.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.027, allocations: 98.47 kB / 364.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.02874, allocations: 1.184 MB / 365.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.02885, allocations: 173.2 kB / 365.4 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.02897, allocations: 52.34 kB / 365.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.02914, allocations: 150.2 kB / 365.6 MB, free: 0.625 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02914, allocations: 0 / 365.6 MB, free: 0.625 MB / 330.7 MB Notification: Performance of Templates: time 0.01142/0.04056, allocations: 7.615 MB / 373.3 MB, free: 9.066 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.0912751047872007]