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.0011/0.001104, allocations: 115.2 kB / 16.41 MB, free: 6.395 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.001047/0.001047, allocations: 186.4 kB / 17.34 MB, free: 5.836 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09262/0.09262, allocations: 22.33 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 64.05 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1463, allocations: 54.95 MB / 492.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.005612/0.152, allocations: 2.572 MB / 495.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1533, allocations: 362.6 kB / 495.6 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.1536, allocations: 8 kB / 495.6 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1538, allocations: 39.58 kB / 495.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005315/0.1543, allocations: 123 kB / 495.8 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.1547, allocations: 75.84 kB / 495.8 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005413/0.1553, allocations: 362.2 kB / 496.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.1557, allocations: 169.7 kB / 496.4 MB, free: 1.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.1561, allocations: 163.3 kB / 496.5 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.1564, allocations: 119.4 kB / 496.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.1564, allocations: 24 kB / 496.7 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.1566, allocations: 47.97 kB / 496.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.1567, allocations: 51.78 kB / 496.8 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.157, allocations: 151.1 kB / 496.9 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.1575, allocations: 302.7 kB / 497.2 MB, free: 236 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1575, allocations: 3.984 kB / 497.2 MB, free: 232 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1575, allocations: 0 / 497.2 MB, free: 232 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1575, allocations: 0 / 497.2 MB, free: 232 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.001211/0.1588, allocations: 0.5762 MB / 497.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.1588, allocations: 12.03 kB / 497.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.404e-05/0.1589, allocations: 28.75 kB / 497.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.1594, allocations: 294.8 kB / 498.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.1594, allocations: 12.75 kB / 498.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.1595, allocations: 28.36 kB / 498.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.16, allocations: 212.5 kB / 498.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1601, allocations: 192 / 498.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.1601, allocations: 11.94 kB / 498.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1601, allocations: 4 kB / 498.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.1605, allocations: 128.8 kB / 498.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.1617, allocations: 0.8303 MB / 499.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.1619, allocations: 98.67 kB / 499.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.162, allocations: 44.84 kB / 499.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.162, allocations: 0 / 499.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1621, allocations: 34.56 kB / 499.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1621, allocations: 0 / 499.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003257/0.1624, allocations: 149.3 kB / 499.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1624, allocations: 59.41 kB / 499.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.1628, allocations: 292.5 kB / 500 MB, free: 13.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1628, allocations: 25.7 kB / 0.4883 GB, free: 13.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1629, allocations: 175.8 kB / 0.4885 GB, free: 13.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.163, allocations: 39.62 kB / 0.4885 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.163, allocations: 33.72 kB / 0.4885 GB, free: 12.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1632, allocations: 338.8 kB / 0.4889 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.1633, allocations: 36.36 kB / 0.4889 GB, free: 12.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.1633, allocations: 54.56 kB / 0.4889 GB, free: 12.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.1645, allocations: 250.6 kB / 0.4892 GB, free: 12.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1645, allocations: 0 / 0.4892 GB, free: 12.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002756/0.1648, allocations: 175.8 kB / 0.4893 GB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1649, allocations: 8 kB / 0.4894 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1649, allocations: 4.062 kB / 0.4894 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1649, allocations: 0 / 0.4894 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.1651, allocations: 51.84 kB / 0.4894 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1651, allocations: 0 / 0.4894 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.1653, allocations: 11.89 kB / 0.4894 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1653, allocations: 8 kB / 0.4894 GB, free: 11.98 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.0001571/0.1654, allocations: 137.8 kB / 0.4896 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.1655, allocations: 27.81 kB / 0.4896 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.1658, allocations: 151.2 kB / 0.4897 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1658, allocations: 7.922 kB / 0.4897 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1658, allocations: 7.938 kB / 0.4897 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.1659, allocations: 104.9 kB / 0.4898 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.1659, allocations: 4 kB / 0.4898 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1661, allocations: 4 kB / 0.4899 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.1661, allocations: 7.984 kB / 0.4899 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003895/0.1665, allocations: 216.8 kB / 0.4901 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003707/0.1669, allocations: 362.5 kB / 0.4904 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.151e-05/0.167, allocations: 43.97 kB / 0.4905 GB, free: 10.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.1672, allocations: 215.1 kB / 0.4907 GB, free: 10.67 MB / 382.1 MB Notification: Performance of Backend: time 3.91e-07/0.1672, allocations: 0 / 0.4907 GB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004785/0.1677, allocations: 156.7 kB / 0.4908 GB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 0.001091/0.1688, allocations: 1.045 MB / 0.4918 GB, free: 9.418 MB / 382.1 MB Notification: Performance of Templates: time 0.006563/0.1754, allocations: 3.039 MB / 0.4948 GB, free: 6.414 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)