Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.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.001009/0.001009, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.001003/0.001003, allocations: 173 kB / 24.17 MB, free: 336 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.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06671/0.06671, allocations: 18.13 MB / 279.2 MB, free: 11.2 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES 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(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 1.344 kB / 304.6 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.223e-05, allocations: 4 kB / 304.6 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.006442/0.006464, allocations: 2.632 MB / 307.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.01029, allocations: 370.5 kB / 307.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.01047, allocations: 17.03 kB / 307.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.604e-05/0.01056, allocations: 39.3 kB / 307.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.01087, allocations: 127.9 kB / 307.8 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.0111, allocations: 71.98 kB / 307.8 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.01146, allocations: 375.4 kB / 308.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.01169, allocations: 160.7 kB / 308.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.01191, allocations: 147.5 kB / 308.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.01206, allocations: 91.02 kB / 308.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.01209, allocations: 20 kB / 308.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.01221, allocations: 52.28 kB / 308.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.01225, allocations: 47.58 kB / 308.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.019e-05/0.01234, allocations: 96.14 kB / 308.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.0126, allocations: 223.1 kB / 309 MB, free: 13.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01261, allocations: 0 / 309 MB, free: 13.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.01261, allocations: 0 / 309 MB, free: 13.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.01261, allocations: 0 / 309 MB, free: 13.38 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.003579/0.01619, allocations: 487.6 kB / 309.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.01622, allocations: 8.922 kB / 309.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.01629, allocations: 36.39 kB / 309.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.01655, allocations: 222.9 kB / 309.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.01657, allocations: 16.75 kB / 309.8 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.01659, allocations: 20.36 kB / 309.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.01681, allocations: 176.7 kB / 310 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.01682, allocations: 192 / 310 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.01684, allocations: 8.375 kB / 310 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.01684, allocations: 8.375 kB / 310 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.01695, allocations: 65.47 kB / 310 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.01754, allocations: 0.5761 MB / 310.6 MB, free: 11.74 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.01767, allocations: 54.56 kB / 310.7 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.0177, allocations: 32.83 kB / 310.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.01772, allocations: 3.938 kB / 310.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.01774, allocations: 34.56 kB / 310.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.01774, allocations: 4 kB / 310.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001598/0.0179, allocations: 89.59 kB / 310.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.01792, allocations: 51.41 kB / 310.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.01808, allocations: 229 kB / 311.1 MB, free: 11.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.01809, allocations: 25.7 kB / 311.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.01816, allocations: 160.5 kB / 311.3 MB, free: 11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.01819, allocations: 39.67 kB / 311.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.01824, allocations: 37.69 kB / 311.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.01832, allocations: 342.7 kB / 311.7 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.01835, allocations: 12 kB / 311.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-05/0.0184, allocations: 47.25 kB / 311.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.01851, allocations: 86.3 kB / 311.8 MB, free: 10.42 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01851, allocations: 0 / 311.8 MB, free: 10.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000128/0.01864, allocations: 101.5 kB / 311.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.01865, allocations: 4 kB / 311.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01865, allocations: 0 / 311.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.01867, allocations: 8.062 kB / 311.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.01888, allocations: 47.89 kB / 312 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.01888, allocations: 0 / 312 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.01895, allocations: 11.95 kB / 312 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.01896, allocations: 4 kB / 312 MB, free: 10.24 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.01907, allocations: 141.7 kB / 312.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.0191, allocations: 15.98 kB / 312.2 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.01926, allocations: 115.3 kB / 312.3 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01926, allocations: 0 / 312.3 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01927, allocations: 7.969 kB / 312.3 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01927, allocations: 4 kB / 312.3 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.01945, allocations: 133.7 kB / 312.4 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.01945, allocations: 0 / 312.4 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.01958, allocations: 27.98 kB / 312.4 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01958, allocations: 3.938 kB / 312.4 MB, free: 9.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.01959, allocations: 11.98 kB / 312.5 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.0196, allocations: 0 / 312.5 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.0196, allocations: 0 / 312.5 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.01977, allocations: 208.8 kB / 312.7 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.01979, allocations: 19.86 kB / 312.7 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.01982, allocations: 7.984 kB / 312.7 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.0199, allocations: 8 kB / 312.7 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.01993, allocations: 7.969 kB / 312.7 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.01994, allocations: 4 kB / 312.7 MB, free: 9.492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.816e-05/0.02, allocations: 78.78 kB / 312.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02, allocations: 0 / 312.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.02024, allocations: 55.89 kB / 312.8 MB, free: 9.363 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.041e-05/0.02033, allocations: 92.34 kB / 312.9 MB, free: 9.266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.02044, allocations: 68.77 kB / 313 MB, free: 9.195 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.02045, allocations: 3.938 kB / 313 MB, free: 9.191 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.02049, allocations: 33.97 kB / 313 MB, free: 9.156 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.02074, allocations: 60.5 kB / 313.1 MB, free: 9.102 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009365/0.02167, allocations: 0.5101 MB / 313.6 MB, free: 8.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.22e-05/0.02173, allocations: 84.31 kB / 313.7 MB, free: 8.461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.978e-05/0.02183, allocations: 30.28 kB / 313.7 MB, free: 8.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.02197, allocations: 103.3 kB / 313.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02197, allocations: 0 / 313.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of Templates: time 0.00539/0.02736, allocations: 3.113 MB / 316.9 MB, free: 5.336 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.778407975565642]