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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,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=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 112.3 kB / 16.42 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 187.3 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09364/0.09364, allocations: 22.33 MB / 313.5 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 67.89 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.08699, allocations: 54.95 MB / 492.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.00348/0.0905, allocations: 2.563 MB / 495.3 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008201/0.09134, allocations: 362.7 kB / 495.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.09156, allocations: 11.94 kB / 495.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.756e-05/0.09166, allocations: 35.64 kB / 495.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.09202, allocations: 127 kB / 495.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.09227, allocations: 75.78 kB / 495.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.09266, allocations: 362.2 kB / 496.2 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.09296, allocations: 169.7 kB / 496.4 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.0932, allocations: 159.3 kB / 496.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.0934, allocations: 127.4 kB / 496.7 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.09345, allocations: 20 kB / 496.7 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.09357, allocations: 47.97 kB / 496.7 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.09362, allocations: 51.72 kB / 496.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.09378, allocations: 143.3 kB / 496.9 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.09412, allocations: 302.7 kB / 497.2 MB, free: 204 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.09413, allocations: 0 / 497.2 MB, free: 204 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09414, allocations: 0 / 497.2 MB, free: 204 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.09415, allocations: 0 / 497.2 MB, free: 204 kB / 366.1 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.0008194/0.09498, allocations: 0.584 MB / 497.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.09503, allocations: 11.97 kB / 497.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.0951, allocations: 32.75 kB / 497.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.09547, allocations: 286.8 kB / 498.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.0955, allocations: 20.73 kB / 498.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.09555, allocations: 24.31 kB / 498.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.09589, allocations: 204.6 kB / 498.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.09591, allocations: 192 / 498.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.09593, allocations: 11.94 kB / 498.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.09595, allocations: 8 kB / 498.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.0962, allocations: 124.8 kB / 498.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.09722, allocations: 0.8303 MB / 499.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.09747, allocations: 102.7 kB / 499.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/0.09756, allocations: 40.84 kB / 499.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.09759, allocations: 0 / 499.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.09762, allocations: 34.56 kB / 499.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.09762, allocations: 0 / 499.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003278/0.09796, allocations: 153.3 kB / 499.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.098, allocations: 51.41 kB / 499.7 MB, free: 13.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.09828, allocations: 304.5 kB / 500 MB, free: 13.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.09831, allocations: 25.7 kB / 0.4883 GB, free: 13.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.09842, allocations: 171.8 kB / 0.4885 GB, free: 12.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.09846, allocations: 43.62 kB / 0.4885 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.09852, allocations: 29.7 kB / 0.4885 GB, free: 12.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.09864, allocations: 338.8 kB / 0.4889 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.09873, allocations: 31.98 kB / 0.4889 GB, free: 12.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-05/0.09882, allocations: 62.56 kB / 0.489 GB, free: 12.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.1, allocations: 254.6 kB / 0.4892 GB, free: 12.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1, allocations: 0 / 0.4892 GB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002867/0.1003, allocations: 168 kB / 0.4894 GB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1004, allocations: 4 kB / 0.4894 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1004, allocations: 8.062 kB / 0.4894 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1004, allocations: 384 / 0.4894 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1006, allocations: 39.91 kB / 0.4894 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.1006, allocations: 4 kB / 0.4894 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.1008, allocations: 23.81 kB / 0.4894 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.1008, allocations: 7.938 kB / 0.4894 GB, free: 11.95 MB / 382.1 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.0001554/0.1009, allocations: 137.8 kB / 0.4896 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.101, allocations: 27.81 kB / 0.4896 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.1013, allocations: 151.5 kB / 0.4897 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1013, allocations: 7.938 kB / 0.4897 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1013, allocations: 7.938 kB / 0.4898 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.1014, allocations: 108.9 kB / 0.4899 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.1015, allocations: 3.984 kB / 0.4899 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.1016, allocations: 4 kB / 0.4899 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1016, allocations: 7.984 kB / 0.4899 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003826/0.102, allocations: 208.9 kB / 0.4901 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003744/0.1024, allocations: 369.7 kB / 0.4904 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.981e-05/0.1025, allocations: 44.02 kB / 0.4905 GB, free: 10.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.1027, allocations: 207.1 kB / 0.4907 GB, free: 10.64 MB / 382.1 MB Notification: Performance of Backend: time 4.7e-07/0.1027, allocations: 4 kB / 0.4907 GB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004799/0.1032, allocations: 160.4 kB / 0.4908 GB, free: 10.47 MB / 382.1 MB Notification: Performance of SimCode: time 0.001027/0.1042, allocations: 1.049 MB / 0.4918 GB, free: 9.375 MB / 382.1 MB Notification: Performance of Templates: time 0.006416/0.1107, allocations: 3.026 MB / 0.4948 GB, free: 6.379 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.makefile (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 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1)