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.0009541/0.0009541, allocations: 93.06 kB / 19.65 MB, free: 280 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.001075/0.001075, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9551/0.9551, allocations: 177.1 MB / 203.4 MB, free: 5.16 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.02564/0.02564, allocations: 6.479 MB / 266.4 MB, free: 6.492 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.623e-06/1.623e-06, allocations: 0 / 338.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.792e-05, allocations: 9.344 kB / 338.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.00415/0.004168, allocations: 3.879 MB / 342 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.005802, allocations: 1.94 MB / 343.9 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.006015, allocations: 15.94 kB / 343.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.006376, allocations: 214.7 kB / 344.1 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.006858, allocations: 298.2 kB / 344.4 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.007331, allocations: 387.1 kB / 344.8 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.007756, allocations: 0.6899 MB / 345.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.00809, allocations: 237.8 kB / 345.7 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.008464, allocations: 403 kB / 346.1 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.008697, allocations: 275.1 kB / 346.4 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.008745, allocations: 67.94 kB / 346.4 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.008868, allocations: 123.9 kB / 346.6 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.008977, allocations: 231.2 kB / 346.8 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.009088, allocations: 223.2 kB / 347 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.009645, allocations: 0.6109 MB / 347.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.009647, allocations: 0 / 347.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.009648, allocations: 0 / 347.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.009657, allocations: 4 kB / 347.6 MB, free: 1.18 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.000926/0.01058, allocations: 1.19 MB / 348.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.01061, allocations: 8.031 kB / 348.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.01074, allocations: 128.3 kB / 348.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.01121, allocations: 492.8 kB / 349.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.01125, allocations: 33.38 kB / 349.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.672e-05/0.01131, allocations: 55.55 kB / 349.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.01177, allocations: 395.8 kB / 349.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.01179, allocations: 4 kB / 349.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.01181, allocations: 16 kB / 349.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.01182, allocations: 12 kB / 349.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.01207, allocations: 161.8 kB / 350.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.01362, allocations: 1.709 MB / 351.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.01398, allocations: 199.9 kB / 352 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/0.01407, allocations: 59.66 kB / 352 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.0141, allocations: 8 kB / 352.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.01426, allocations: 129.5 kB / 352.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.01426, allocations: 3.938 kB / 352.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006402/0.0149, allocations: 384.7 kB / 352.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.01493, allocations: 59.41 kB / 352.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.01548, allocations: 0.7104 MB / 353.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.0155, allocations: 33.7 kB / 353.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.01584, allocations: 439.1 kB / 353.8 MB, free: 10.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.0159, allocations: 107.1 kB / 353.9 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.434e-05/0.01598, allocations: 83.84 kB / 354 MB, free: 10.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.01614, allocations: 0.5664 MB / 354.5 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.01624, allocations: 90.59 kB / 354.6 MB, free: 9.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.01638, allocations: 172.2 kB / 354.8 MB, free: 9.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.0166, allocations: 243 kB / 355 MB, free: 9.402 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.0166, allocations: 0 / 355 MB, free: 9.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004323/0.01704, allocations: 428.1 kB / 355.5 MB, free: 8.961 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.01706, allocations: 41.69 kB / 355.5 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01707, allocations: 4 kB / 355.5 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.01727, allocations: 55.64 kB / 355.6 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.01741, allocations: 79.78 kB / 355.6 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.0187, allocations: 2.137 MB / 357.8 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.01883, allocations: 43.77 kB / 357.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.01885, allocations: 12 kB / 357.8 MB, free: 6.461 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.0001216/0.01897, allocations: 180.5 kB / 358 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.01903, allocations: 79.53 kB / 358.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.01938, allocations: 280.1 kB / 358.4 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01938, allocations: 4 kB / 358.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.01938, allocations: 0 / 358.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01939, allocations: 7.969 kB / 358.4 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.01973, allocations: 452.2 kB / 358.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01973, allocations: 0 / 358.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.01985, allocations: 39.92 kB / 358.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.01998, allocations: 75.75 kB / 358.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.01999, allocations: 4 kB / 358.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008908/0.02089, allocations: 2.122 MB / 361 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.02089, allocations: 3.938 kB / 361 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.0213, allocations: 386.7 kB / 361.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.02137, allocations: 79.5 kB / 361.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.02141, allocations: 11.92 kB / 361.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.02149, allocations: 19.98 kB / 361.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.02156, allocations: 31.89 kB / 361.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.02158, allocations: 12.17 kB / 361.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003487/0.02192, allocations: 455 kB / 362 MB, free: 2.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02192, allocations: 0 / 362 MB, free: 2.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000323/0.02225, allocations: 155.5 kB / 362.2 MB, free: 1.906 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.001135/0.02338, allocations: 0.5658 MB / 362.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.02387, allocations: 462.2 kB / 363.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.02387, allocations: 64 / 363.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.02407, allocations: 285.4 kB / 363.5 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.02438, allocations: 100.8 kB / 363.6 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.02615, allocations: 1.176 MB / 364.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.02626, allocations: 177.2 kB / 364.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.02637, allocations: 64.33 kB / 365 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.02644, allocations: 40.48 kB / 365 MB, free: 15.17 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02644, allocations: 0 / 365 MB, free: 15.17 MB / 298.7 MB Notification: Performance of Templates: time 0.009183/0.03563, allocations: 6.961 MB / 372 MB, free: 8.262 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=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9783958829939365]