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.0008551/0.0008551, allocations: 75.7 kB / 20.8 MB, free: 3.711 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.00102/0.00102, allocations: 166 kB / 24.09 MB, free: 424 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.8893/0.8893, allocations: 177.1 MB / 204.4 MB, free: 5.711 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.06375/0.06375, allocations: 18.12 MB / 279 MB, free: 11.49 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 1.743e-06/1.743e-06, allocations: 0 / 416.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.025e-05, allocations: 3.656 kB / 416.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.002862/0.002892, allocations: 2.418 MB / 419 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008523/0.003745, allocations: 346.7 kB / 419.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.003922, allocations: 16.22 kB / 419.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 7.574e-05/0.003998, allocations: 35.58 kB / 419.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.004317, allocations: 135.3 kB / 419.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.004589, allocations: 76.91 kB / 419.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.004986, allocations: 372.6 kB / 419.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.005299, allocations: 142.6 kB / 420.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.005578, allocations: 150 kB / 420.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.005756, allocations: 86.72 kB / 420.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.005797, allocations: 22.34 kB / 420.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.005917, allocations: 51.06 kB / 420.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.005952, allocations: 51.12 kB / 420.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.851e-05/0.006051, allocations: 94.09 kB / 420.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.00647, allocations: 309.1 kB / 420.8 MB, free: 9.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.006473, allocations: 0 / 420.8 MB, free: 9.918 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.006474, allocations: 1.406 kB / 420.8 MB, free: 9.918 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.006486, allocations: 0 / 420.8 MB, free: 9.918 MB / 330.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.0007352/0.007222, allocations: 0.5038 MB / 421.3 MB, free: 9.496 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.007264, allocations: 9.953 kB / 421.3 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.007332, allocations: 31.81 kB / 421.4 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.00763, allocations: 237.2 kB / 421.6 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.007651, allocations: 12.38 kB / 421.6 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.007691, allocations: 21.98 kB / 421.6 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.007999, allocations: 205.5 kB / 421.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.00801, allocations: 4.188 kB / 421.8 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.008029, allocations: 6.562 kB / 421.8 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.008039, allocations: 9.734 kB / 421.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.008232, allocations: 129.3 kB / 422 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.008925, allocations: 0.7071 MB / 422.7 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.009139, allocations: 90.94 kB / 422.8 MB, free: 8.465 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.009197, allocations: 47.58 kB / 422.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.009217, allocations: 2.234 kB / 422.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.00923, allocations: 32 kB / 422.9 MB, free: 8.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.009231, allocations: 0 / 422.9 MB, free: 8.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002681/0.009499, allocations: 140.7 kB / 423 MB, free: 8.324 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.009521, allocations: 56.75 kB / 423 MB, free: 8.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.009701, allocations: 251.5 kB / 423.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.009709, allocations: 26.45 kB / 423.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.009786, allocations: 175.3 kB / 423.5 MB, free: 7.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.009807, allocations: 43.09 kB / 423.5 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.009852, allocations: 32.14 kB / 423.6 MB, free: 7.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.009897, allocations: 343.1 kB / 423.9 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.009955, allocations: 35.81 kB / 423.9 MB, free: 7.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.01002, allocations: 63.08 kB / 424 MB, free: 7.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007373/0.01076, allocations: 248.4 kB / 424.2 MB, free: 7.398 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01076, allocations: 0.9375 kB / 424.2 MB, free: 7.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000193/0.01095, allocations: 166.2 kB / 424.4 MB, free: 7.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.01097, allocations: 10.31 kB / 424.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01097, allocations: 1.797 kB / 424.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.01099, allocations: 1 kB / 424.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.01112, allocations: 43.56 kB / 424.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.01113, allocations: 1.797 kB / 424.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.01119, allocations: 15.91 kB / 424.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.0112, allocations: 13.17 kB / 424.5 MB, free: 7.277 MB / 330.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.0001267/0.01133, allocations: 140.9 kB / 424.6 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.01136, allocations: 21.08 kB / 424.6 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.01159, allocations: 150.3 kB / 424.8 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01159, allocations: 1.156 kB / 424.8 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.0116, allocations: 6.094 kB / 424.8 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.0116, allocations: 0.6562 kB / 424.8 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.01178, allocations: 210.3 kB / 425 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01179, allocations: 0.5156 kB / 425 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.0119, allocations: 31.48 kB / 425 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01191, allocations: 0.5625 kB / 425 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.01192, allocations: 5.984 kB / 425 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01192, allocations: 1.344 kB / 425 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.01192, allocations: 2.422 kB / 425 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.01216, allocations: 267.5 kB / 425.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.01219, allocations: 28.52 kB / 425.3 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.01221, allocations: 2 kB / 425.3 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.01227, allocations: 5.062 kB / 425.3 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.01231, allocations: 11.77 kB / 425.4 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.01232, allocations: 2.922 kB / 425.4 MB, free: 6.664 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.01243, allocations: 178.9 kB / 425.5 MB, free: 6.562 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01243, allocations: 1.156 kB / 425.5 MB, free: 6.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.01265, allocations: 57.42 kB / 425.6 MB, free: 6.551 MB / 330.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 0.0001041/0.01275, allocations: 113.4 kB / 425.7 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.01293, allocations: 99.97 kB / 425.8 MB, free: 6.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01293, allocations: 0 / 425.8 MB, free: 6.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.01299, allocations: 51.06 kB / 425.8 MB, free: 6.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.01326, allocations: 52.2 kB / 425.9 MB, free: 6.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.01404, allocations: 0.5043 MB / 426.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.01416, allocations: 149 kB / 426.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.01426, allocations: 28.7 kB / 426.6 MB, free: 5.949 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.0143, allocations: 26.48 kB / 426.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0143, allocations: 0 / 426.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of Templates: time 0.005639/0.01994, allocations: 2.742 MB / 429.3 MB, free: 5.594 MB / 330.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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.909887157380581] Failed to read output from testmodel.py, exit status != 0: 0.025984150357544422 0.035547569 0.027141646000000002 Calling exit ...