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.001014/0.001014, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009981/0.0009981, allocations: 169.4 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 0.9769/0.9769, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.05328/0.05328, allocations: 6.48 MB / 267.5 MB, free: 6.488 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.854e-06/1.854e-06, allocations: 0 / 339.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.464e-05, allocations: 2.312 kB / 339.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004378/0.004402, allocations: 3.807 MB / 343.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.006809, allocations: 1.936 MB / 345.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/0.007143, allocations: 11.94 kB / 345.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.007587, allocations: 206.8 kB / 345.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006291/0.008216, allocations: 302.2 kB / 345.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.008949, allocations: 379.1 kB / 345.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.009511, allocations: 0.7015 MB / 346.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.009865, allocations: 217.9 kB / 346.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.01026, allocations: 414.9 kB / 347.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.01056, allocations: 275.2 kB / 347.5 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.204e-05/0.01062, allocations: 60 kB / 347.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.01082, allocations: 127.8 kB / 347.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.011, allocations: 235.2 kB / 347.9 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.01115, allocations: 219.3 kB / 348.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006451/0.0118, allocations: 0.6148 MB / 348.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.0118, allocations: 0 / 348.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.0118, allocations: 4 kB / 348.8 MB, free: 1.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.01181, allocations: 0 / 348.8 MB, free: 1.008 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.001152/0.01296, allocations: 1.181 MB / 349.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.013, allocations: 12.03 kB / 350 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.01315, allocations: 136.3 kB / 350.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.01368, allocations: 472.8 kB / 350.6 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.01372, allocations: 33.38 kB / 350.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.01379, allocations: 52.36 kB / 350.6 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.01428, allocations: 367.7 kB / 351 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.0143, allocations: 3.953 kB / 351 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.01433, allocations: 20 kB / 351 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.01434, allocations: 12 kB / 351 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.01455, allocations: 126.8 kB / 351.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.01629, allocations: 1.581 MB / 352.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.0166, allocations: 199.8 kB / 352.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.01668, allocations: 51.66 kB / 353 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.01671, allocations: 8 kB / 353 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.0169, allocations: 125.4 kB / 353.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.335e-06/0.0169, allocations: 0 / 353.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007363/0.01764, allocations: 352.6 kB / 353.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.01767, allocations: 55.41 kB / 353.5 MB, free: 12.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.01833, allocations: 0.6866 MB / 354.2 MB, free: 11.35 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.01836, allocations: 37.7 kB / 354.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.01869, allocations: 443 kB / 354.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.896e-05/0.01877, allocations: 103.1 kB / 354.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.01889, allocations: 95.8 kB / 354.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002545/0.01914, allocations: 0.5741 MB / 355.4 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.01926, allocations: 70.66 kB / 355.5 MB, free: 10 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.01942, allocations: 168 kB / 355.7 MB, free: 9.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.01967, allocations: 211 kB / 355.9 MB, free: 9.551 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01968, allocations: 0 / 355.9 MB, free: 9.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005178/0.02019, allocations: 411.8 kB / 356.3 MB, free: 9.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.02023, allocations: 37.7 kB / 356.3 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.02024, allocations: 0 / 356.3 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.02045, allocations: 63.86 kB / 356.4 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.02065, allocations: 71.91 kB / 356.4 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.02202, allocations: 2.099 MB / 358.5 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.0222, allocations: 39.77 kB / 358.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.02222, allocations: 15.98 kB / 358.6 MB, free: 6.68 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.0001552/0.02238, allocations: 187.5 kB / 358.8 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.02246, allocations: 83.47 kB / 358.9 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.02286, allocations: 260.1 kB / 359.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.02286, allocations: 4 kB / 359.1 MB, free: 6.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.02287, allocations: 3.938 kB / 359.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.02287, allocations: 0 / 359.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.02337, allocations: 344.9 kB / 359.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.02338, allocations: 8 kB / 359.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.02353, allocations: 43.91 kB / 359.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000168/0.0237, allocations: 55.62 kB / 359.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.02372, allocations: 8 kB / 359.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.02482, allocations: 2.095 MB / 361.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.02482, allocations: 4 kB / 361.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.02528, allocations: 358.6 kB / 362 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.02536, allocations: 71.5 kB / 362.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.02541, allocations: 11.98 kB / 362.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.02552, allocations: 15.98 kB / 362.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.02559, allocations: 35.89 kB / 362.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.0256, allocations: 12.02 kB / 362.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003466/0.02595, allocations: 426.8 kB / 362.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02595, allocations: 0 / 362.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000467/0.02642, allocations: 147.5 kB / 362.7 MB, free: 2.363 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.00168/0.0281, allocations: 0.5587 MB / 363.3 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004824/0.02858, allocations: 429.9 kB / 363.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.02858, allocations: 0 / 363.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.02881, allocations: 277.3 kB / 364 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.02922, allocations: 106.3 kB / 364.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.031, allocations: 1.176 MB / 365.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.03114, allocations: 173.2 kB / 365.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000141/0.03128, allocations: 52.36 kB / 365.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.03148, allocations: 146.2 kB / 365.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03148, allocations: 0 / 365.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of Templates: time 0.01214/0.04362, allocations: 7.607 MB / 373.2 MB, free: 8.031 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: 3.1852139681577682]