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.0009951/0.0009951, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.0009985/0.0009985, allocations: 177 kB / 24.27 MB, free: 284 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.069/1.069, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.1046/0.1046, allocations: 18.15 MB / 279.2 MB, free: 11.39 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.044e-06/2.044e-06, allocations: 0 / 357.3 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.33e-05, allocations: 13.06 kB / 357.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.003796/0.003829, allocations: 2.588 MB / 359.9 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.004722, allocations: 366.6 kB / 360.2 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.004905, allocations: 15.88 kB / 360.2 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.639e-05/0.004991, allocations: 39.64 kB / 360.3 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.005313, allocations: 130.9 kB / 360.4 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.005582, allocations: 75.77 kB / 360.5 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.005957, allocations: 373.9 kB / 360.8 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.006242, allocations: 150.7 kB / 361 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.00649, allocations: 159.5 kB / 361.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.00666, allocations: 91.72 kB / 361.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.006698, allocations: 20 kB / 361.2 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.006814, allocations: 47.91 kB / 361.3 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.006862, allocations: 51.77 kB / 361.3 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.006968, allocations: 91.77 kB / 361.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.007318, allocations: 211.2 kB / 361.6 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.007322, allocations: 3.938 kB / 361.6 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007323, allocations: 4 kB / 361.6 MB, free: 3.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.007328, allocations: 0 / 361.6 MB, free: 3.77 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.00105/0.008379, allocations: 0.593 MB / 362.2 MB, free: 3.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.008429, allocations: 12.92 kB / 362.2 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.008537, allocations: 48.75 kB / 362.3 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.008891, allocations: 247.5 kB / 362.5 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.008914, allocations: 16.75 kB / 362.6 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.008952, allocations: 16.38 kB / 362.6 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.009261, allocations: 196.8 kB / 362.8 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.009272, allocations: 192 / 362.8 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.009291, allocations: 4.375 kB / 362.8 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.009303, allocations: 8.375 kB / 362.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.009479, allocations: 80.8 kB / 362.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008891/0.01037, allocations: 0.8844 MB / 363.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.0106, allocations: 79.16 kB / 363.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.01065, allocations: 31.67 kB / 363.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.01068, allocations: 4 kB / 363.9 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.0107, allocations: 41.38 kB / 363.9 MB, free: 1.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.01071, allocations: 0 / 363.9 MB, free: 1.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002784/0.01098, allocations: 125.5 kB / 364 MB, free: 1.219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.01102, allocations: 51.41 kB / 364.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.01124, allocations: 296.2 kB / 364.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.01126, allocations: 29.64 kB / 364.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.01137, allocations: 226.9 kB / 364.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.0114, allocations: 39.62 kB / 364.6 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.01146, allocations: 39.36 kB / 364.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.01161, allocations: 0.5117 MB / 365.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.316e-05/0.01167, allocations: 15.98 kB / 365.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.01173, allocations: 58.17 kB / 365.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.01191, allocations: 111 kB / 365.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01191, allocations: 4 kB / 365.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000213/0.01212, allocations: 141.4 kB / 365.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01214, allocations: 4 kB / 365.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01214, allocations: 0 / 365.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01216, allocations: 11.97 kB / 365.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.01233, allocations: 31.98 kB / 365.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.01234, allocations: 8 kB / 365.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/0.01242, allocations: 11.89 kB / 365.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.01243, allocations: 11.94 kB / 365.6 MB, free: 15.55 MB / 298.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.00016/0.01259, allocations: 164.6 kB / 365.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.01263, allocations: 23.86 kB / 365.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.01288, allocations: 139.3 kB / 365.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01288, allocations: 4 kB / 365.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.01289, allocations: 3.984 kB / 365.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01289, allocations: 0 / 365.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.01312, allocations: 216.4 kB / 366.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01312, allocations: 0 / 366.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.01326, allocations: 27.98 kB / 366.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.01326, allocations: 4 kB / 366.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.01329, allocations: 4 kB / 366.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01329, allocations: 0 / 366.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01329, allocations: 0 / 366.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.01359, allocations: 303.6 kB / 366.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.01362, allocations: 19.84 kB / 366.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.01365, allocations: 8 kB / 366.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.01374, allocations: 0 / 366.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.01378, allocations: 11.98 kB / 366.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.01379, allocations: 4.031 kB / 366.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.01392, allocations: 205.1 kB / 366.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01392, allocations: 0 / 366.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.01421, allocations: 63.81 kB / 366.8 MB, free: 14.3 MB / 298.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.0001887/0.0144, allocations: 103.2 kB / 366.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.01459, allocations: 87.39 kB / 367 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01459, allocations: 0 / 367 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.236e-05/0.01466, allocations: 47.61 kB / 367 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.01503, allocations: 60.89 kB / 367.1 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.01633, allocations: 0.5235 MB / 367.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.228e-05/0.01639, allocations: 84.31 kB / 367.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.0165, allocations: 38.27 kB / 367.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.01655, allocations: 24.5 kB / 367.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01655, allocations: 0 / 367.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of Templates: time 0.006064/0.02262, allocations: 2.775 MB / 370.5 MB, free: 10.57 MB / 298.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 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.111138884210959]