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.001015/0.001015, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.0009781/0.0009783, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2165/0.2165, allocations: 22.34 MB / 313.3 MB, free: 13.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004729, allocations: 12 kB / 381.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3545, allocations: 55.97 MB / 437.8 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.002227/0.3568, allocations: 2.231 MB / 440 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006008/0.3574, allocations: 416.5 kB / 440.4 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.3576, allocations: 11.91 kB / 440.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.632e-05/0.3577, allocations: 39.31 kB / 440.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.3579, allocations: 151.2 kB / 440.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.3581, allocations: 52.92 kB / 440.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.3583, allocations: 248.2 kB / 440.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.3585, allocations: 137.9 kB / 441.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.3587, allocations: 155.4 kB / 441.2 MB, free: 37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.3589, allocations: 113.1 kB / 441.3 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.3589, allocations: 11.41 kB / 441.3 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.359, allocations: 45.92 kB / 441.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.3591, allocations: 38.17 kB / 441.4 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.3591, allocations: 80.8 kB / 441.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.3593, allocations: 215.1 kB / 441.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.3593, allocations: 0 / 441.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3594, allocations: 0 / 441.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3594, allocations: 0 / 441.7 MB, free: 36.8 MB / 350.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.0007043/0.3601, allocations: 0.5302 MB / 442.2 MB, free: 36.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3601, allocations: 9.375 kB / 442.3 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.3602, allocations: 29.91 kB / 442.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.3605, allocations: 281.4 kB / 442.6 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3605, allocations: 12.09 kB / 442.6 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.3606, allocations: 19.5 kB / 442.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.3609, allocations: 206.1 kB / 442.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3609, allocations: 7.953 kB / 442.8 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.3609, allocations: 6.969 kB / 442.8 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3609, allocations: 2.906 kB / 442.8 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.3611, allocations: 126.3 kB / 442.9 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000855/0.362, allocations: 0.8255 MB / 443.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.3623, allocations: 96.23 kB / 443.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3623, allocations: 0 / 443.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.3623, allocations: 33.53 kB / 443.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3623, allocations: 0 / 443.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003057/0.3626, allocations: 153.7 kB / 444 MB, free: 35.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3627, allocations: 51.41 kB / 444.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.3629, allocations: 285.9 kB / 444.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3629, allocations: 33.64 kB / 444.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.363, allocations: 172.2 kB / 444.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.3631, allocations: 48.41 kB / 444.6 MB, free: 34.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/0.3631, allocations: 0 / 444.6 MB, free: 34.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.514e-05/0.3631, allocations: 343 kB / 444.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.3632, allocations: 32.06 kB / 445 MB, free: 34.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.3633, allocations: 58.47 kB / 445 MB, free: 34.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.965e-05/0.3634, allocations: 58.36 kB / 445.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3634, allocations: 0 / 445.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002159/0.3636, allocations: 164.3 kB / 445.2 MB, free: 34.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3637, allocations: 5.531 kB / 445.3 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3637, allocations: 4 kB / 445.3 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3637, allocations: 3.234 kB / 445.3 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.3639, allocations: 33.66 kB / 445.3 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3639, allocations: 3 kB / 445.3 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.364, allocations: 26.11 kB / 445.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3641, allocations: 10.19 kB / 445.3 MB, free: 34.05 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.3642, allocations: 137.2 kB / 445.5 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.3643, allocations: 20.72 kB / 445.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.3646, allocations: 159.5 kB / 445.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3646, allocations: 2.594 kB / 445.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3646, allocations: 0 / 445.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3646, allocations: 3.562 kB / 445.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.3648, allocations: 278.2 kB / 445.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3649, allocations: 0 / 445.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.365, allocations: 27.84 kB / 445.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.365, allocations: 6.812 kB / 446 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3651, allocations: 3.375 kB / 446 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3651, allocations: 0 / 446 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3651, allocations: 384 / 446 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.3654, allocations: 285.2 kB / 446.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.3654, allocations: 96.42 kB / 446.3 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.3655, allocations: 7.469 kB / 446.3 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3656, allocations: 7.938 kB / 446.3 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.3657, allocations: 16.25 kB / 446.4 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3657, allocations: 7.875 kB / 446.4 MB, free: 33.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.3658, allocations: 202.1 kB / 446.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3658, allocations: 0 / 446.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.3661, allocations: 62 kB / 446.6 MB, free: 33.12 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001271/0.3663, allocations: 101 kB / 446.7 MB, free: 33.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3665, allocations: 103.6 kB / 446.8 MB, free: 33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3665, allocations: 4.125 kB / 446.8 MB, free: 32.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.182e-05/0.3666, allocations: 47.2 kB / 446.9 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3669, allocations: 58.66 kB / 446.9 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3679, allocations: 0.703 MB / 447.6 MB, free: 32.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.3681, allocations: 0.7587 MB / 448.4 MB, free: 31.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.3683, allocations: 35.09 kB / 448.4 MB, free: 31.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.3683, allocations: 21.84 kB / 448.5 MB, free: 31.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3683, allocations: 4 kB / 448.5 MB, free: 31.79 MB / 350.1 MB Notification: Performance of Templates: time 0.005247/0.3736, allocations: 2.518 MB / 451 MB, free: 31.61 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: