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.001772/0.001772, 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.001726/0.001726, allocations: 173 kB / 23.49 MB, free: 1.059 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.054/1.054, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.03979/0.03979, allocations: 6.476 MB / 266.8 MB, free: 6.68 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 1.603e-06/1.603e-06, allocations: 0 / 338.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.026e-05, allocations: 2.312 kB / 338.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.003993/0.004014, allocations: 3.878 MB / 342 MB, free: 8.277 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.006009, allocations: 1.936 MB / 343.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.00622, allocations: 11.94 kB / 343.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.006605, allocations: 210.7 kB / 344.1 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005144/0.007119, allocations: 298.3 kB / 344.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.007633, allocations: 375.1 kB / 344.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.008183, allocations: 0.6938 MB / 345.5 MB, free: 4.762 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.008504, allocations: 229.8 kB / 345.7 MB, free: 4.539 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.008925, allocations: 414.9 kB / 346.1 MB, free: 4.133 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.009211, allocations: 263.2 kB / 346.3 MB, free: 3.875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.009273, allocations: 64 kB / 346.4 MB, free: 3.812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.009416, allocations: 123.9 kB / 346.5 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.00957, allocations: 235.2 kB / 346.8 MB, free: 3.461 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.009732, allocations: 227.2 kB / 347 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005721/0.0103, allocations: 0.6148 MB / 347.6 MB, free: 2.621 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.01031, allocations: 4 kB / 347.6 MB, free: 2.617 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.01031, allocations: 0 / 347.6 MB, free: 2.617 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.01031, allocations: 0 / 347.6 MB, free: 2.617 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.001139/0.01145, allocations: 1.178 MB / 348.8 MB, free: 1.395 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.01149, allocations: 8.031 kB / 348.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.01162, allocations: 136.3 kB / 348.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.0121, allocations: 0.4891 MB / 349.4 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.01214, allocations: 41.31 kB / 349.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.01219, allocations: 52.33 kB / 349.5 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.01266, allocations: 395.8 kB / 349.9 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.0127, allocations: 3.984 kB / 349.9 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.01274, allocations: 20 kB / 349.9 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.01276, allocations: 12 kB / 349.9 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.01304, allocations: 161.8 kB / 350.1 MB, free: 36 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.01473, allocations: 1.697 MB / 351.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.01505, allocations: 203.3 kB / 352 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.01514, allocations: 55.66 kB / 352 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.01516, allocations: 8 kB / 352 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.01534, allocations: 136.9 kB / 352.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.01534, allocations: 0 / 352.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006775/0.01602, allocations: 380.6 kB / 352.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.01604, allocations: 55.41 kB / 352.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.01661, allocations: 0.7142 MB / 353.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.01663, allocations: 37.7 kB / 353.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.01685, allocations: 435.1 kB / 353.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.01691, allocations: 103.2 kB / 353.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.017, allocations: 95.8 kB / 354 MB, free: 11.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003871/0.01738, allocations: 0.5664 MB / 354.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.01749, allocations: 82.67 kB / 354.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.01764, allocations: 179.9 kB / 354.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.01787, allocations: 239 kB / 355 MB, free: 10.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01787, allocations: 4 kB / 355 MB, free: 10.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004642/0.01834, allocations: 427.9 kB / 355.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.01836, allocations: 29.7 kB / 355.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01837, allocations: 4 kB / 355.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.01858, allocations: 67.84 kB / 355.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.01873, allocations: 67.91 kB / 355.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.01976, allocations: 2.145 MB / 357.8 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.01989, allocations: 43.77 kB / 357.8 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.01991, allocations: 12.03 kB / 357.8 MB, free: 7.891 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.0001261/0.02003, allocations: 188.4 kB / 358 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.02009, allocations: 79.53 kB / 358.1 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.02044, allocations: 285 kB / 358.4 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.02045, allocations: 4 kB / 358.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.02045, allocations: 0 / 358.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.02045, allocations: 0 / 358.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.02081, allocations: 452.2 kB / 358.8 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.02081, allocations: 4 kB / 358.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.02093, allocations: 39.97 kB / 358.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/0.02106, allocations: 67.77 kB / 358.9 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.02107, allocations: 7.984 kB / 358.9 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009134/0.02199, allocations: 2.129 MB / 361 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.02199, allocations: 0 / 361 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.02241, allocations: 377.6 kB / 361.4 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.02276, allocations: 83.44 kB / 361.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.0228, allocations: 4 kB / 361.5 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.02289, allocations: 19.98 kB / 361.5 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.02296, allocations: 35.97 kB / 361.6 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.02297, allocations: 8.188 kB / 361.6 MB, free: 3.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003545/0.02333, allocations: 462.9 kB / 362 MB, free: 3.484 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02333, allocations: 0 / 362 MB, free: 3.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.02365, allocations: 147.6 kB / 362.2 MB, free: 3.34 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.001263/0.02492, allocations: 0.5776 MB / 362.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.02538, allocations: 457.8 kB / 363.2 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.02538, allocations: 0 / 363.2 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.02559, allocations: 277.4 kB / 363.5 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.02589, allocations: 102.7 kB / 363.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.02736, allocations: 1.189 MB / 364.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.02746, allocations: 173.2 kB / 364.9 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.02758, allocations: 56.34 kB / 365 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.02765, allocations: 40.5 kB / 365 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of SimCode: time 6.32e-07/0.02765, allocations: 0 / 365 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of Templates: time 0.0099/0.03755, allocations: 6.966 MB / 372 MB, free: 9.695 MB / 346.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.117037223884836]