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.0009372/0.0009372, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.000964/0.000964, allocations: 169 kB / 23.27 MB, free: 1.223 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.9432/0.9432, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.02661/0.02661, allocations: 6.477 MB / 266.7 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 2.555e-06/2.555e-06, allocations: 0 / 338.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.92e-05, allocations: 2.312 kB / 338.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.007198/0.007218, allocations: 3.808 MB / 342.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.008884, allocations: 1.936 MB / 344.3 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.009098, allocations: 11.94 kB / 344.3 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.009506, allocations: 214.7 kB / 344.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004469/0.009953, allocations: 298.2 kB / 344.8 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.01037, allocations: 379.1 kB / 345.1 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.01076, allocations: 0.6937 MB / 345.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.01105, allocations: 225.8 kB / 346.1 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.01137, allocations: 410.9 kB / 346.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.01161, allocations: 275.2 kB / 346.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.01166, allocations: 63.94 kB / 346.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.01178, allocations: 119.9 kB / 346.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.01192, allocations: 235.2 kB / 347.1 MB, free: 1.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.01204, allocations: 227.3 kB / 347.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.01251, allocations: 0.6109 MB / 348 MB, free: 1.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01251, allocations: 0 / 348 MB, free: 1.035 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01251, allocations: 0 / 348 MB, free: 1.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.01252, allocations: 0 / 348 MB, free: 1.035 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.0009297/0.01345, allocations: 1.181 MB / 349.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.01349, allocations: 16.03 kB / 349.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.01361, allocations: 132.3 kB / 349.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.01404, allocations: 472.8 kB / 349.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.01407, allocations: 33.38 kB / 349.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.01413, allocations: 52.36 kB / 349.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.01452, allocations: 375.6 kB / 350.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.01454, allocations: 3.953 kB / 350.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.01456, allocations: 24 kB / 350.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.01457, allocations: 15.98 kB / 350.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.01473, allocations: 126.8 kB / 350.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.01649, allocations: 1.581 MB / 352 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.01676, allocations: 183.3 kB / 352.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.685e-05/0.01683, allocations: 51.64 kB / 352.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.01686, allocations: 15.94 kB / 352.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.01702, allocations: 117.5 kB / 352.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.01702, allocations: 0 / 352.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005778/0.0176, allocations: 356.6 kB / 352.7 MB, free: 12.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.01763, allocations: 55.41 kB / 352.7 MB, free: 12.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.01813, allocations: 0.6866 MB / 353.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01815, allocations: 37.7 kB / 353.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.0184, allocations: 451 kB / 353.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.01846, allocations: 103.1 kB / 354 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.01854, allocations: 91.8 kB / 354.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.01873, allocations: 0.578 MB / 354.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.0188, allocations: 66.61 kB / 354.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.01892, allocations: 164.1 kB / 354.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.01912, allocations: 227 kB / 355.1 MB, free: 9.559 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.01912, allocations: 4 kB / 355.1 MB, free: 9.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003943/0.01951, allocations: 391.9 kB / 355.5 MB, free: 9.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.01955, allocations: 40.36 kB / 355.5 MB, free: 9.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01955, allocations: 8.219 kB / 355.5 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.01974, allocations: 59.62 kB / 355.6 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.01988, allocations: 75.83 kB / 355.7 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.02091, allocations: 2.107 MB / 357.8 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.02104, allocations: 39.77 kB / 357.8 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.02105, allocations: 12 kB / 357.8 MB, free: 6.691 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 (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.0001287/0.02118, allocations: 176.5 kB / 358 MB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.02124, allocations: 87.41 kB / 358.1 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.02155, allocations: 256.1 kB / 358.3 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.02155, allocations: 4.031 kB / 358.3 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.02155, allocations: 7.938 kB / 358.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.02156, allocations: 3.984 kB / 358.3 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.02186, allocations: 336.8 kB / 358.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.02186, allocations: 0 / 358.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.02197, allocations: 39.92 kB / 358.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.0221, allocations: 63.62 kB / 358.8 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.02211, allocations: 11.98 kB / 358.8 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.02324, allocations: 2.099 MB / 360.9 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.02324, allocations: 0 / 360.9 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.02363, allocations: 362.6 kB / 361.2 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.02369, allocations: 71.5 kB / 361.3 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.02372, allocations: 8.031 kB / 361.3 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.02381, allocations: 19.98 kB / 361.3 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.02387, allocations: 39.81 kB / 361.4 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.02389, allocations: 4 kB / 361.4 MB, free: 2.941 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002725/0.02416, allocations: 426.8 kB / 361.8 MB, free: 2.527 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02416, allocations: 0 / 361.8 MB, free: 2.527 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003214/0.02448, allocations: 143.6 kB / 361.9 MB, free: 2.387 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.001269/0.02575, allocations: 0.57 MB / 362.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003954/0.02614, allocations: 433.8 kB / 362.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.02615, allocations: 0 / 362.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.02634, allocations: 277.7 kB / 363.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.02667, allocations: 107.2 kB / 363.3 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.02813, allocations: 1.172 MB / 364.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.02823, allocations: 173.2 kB / 364.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.02834, allocations: 52.34 kB / 364.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.02851, allocations: 154.2 kB / 364.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02851, allocations: 0 / 364.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Templates: time 0.009675/0.03818, allocations: 7.443 MB / 372.3 MB, free: 8.234 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.9466359317302704]