Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.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.0011/0.0011, allocations: 87.56 kB / 20.97 MB, free: 3.574 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.001671/0.001671, allocations: 173 kB / 24.27 MB, free: 280 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.055/1.055, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.06732/0.06732, allocations: 18.14 MB / 279.2 MB, free: 11.4 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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 357.2 MB, free: 8.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.851e-05, allocations: 6.312 kB / 357.3 MB, free: 8.172 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001): time 0.03785/0.03788, allocations: 25.98 MB / 383.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.03859, allocations: 223.1 kB / 383.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.03872, allocations: 19.88 kB / 383.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 6.749e-05/0.03878, allocations: 31.64 kB / 383.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.03898, allocations: 111.1 kB / 383.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.0391, allocations: 39.94 kB / 383.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.03952, allocations: 302.4 kB / 383.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.03979, allocations: 133.5 kB / 384.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.03999, allocations: 135.5 kB / 384.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.04012, allocations: 71.8 kB / 384.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.04015, allocations: 16 kB / 384.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.638e-05/0.04018, allocations: 16 kB / 384.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.04021, allocations: 35.8 kB / 384.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.04028, allocations: 79.77 kB / 384.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.0405, allocations: 143.4 kB / 384.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.0405, allocations: 0 / 384.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.04051, allocations: 0 / 384.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.04051, allocations: 4 kB / 384.6 MB, free: 13.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006785/0.04119, allocations: 0.5465 MB / 385.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.04123, allocations: 12.92 kB / 385.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.025e-05/0.0413, allocations: 36.8 kB / 385.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.04156, allocations: 215.9 kB / 385.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.04159, allocations: 16.7 kB / 385.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.04162, allocations: 16.36 kB / 385.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.04188, allocations: 199.5 kB / 385.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.04189, allocations: 192 / 385.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.0419, allocations: 8.375 kB / 385.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.04191, allocations: 4.375 kB / 385.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.04204, allocations: 75.81 kB / 385.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006915/0.04274, allocations: 0.9637 MB / 386.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.04286, allocations: 66.97 kB / 386.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.04291, allocations: 39.67 kB / 386.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.04292, allocations: 4 kB / 386.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.04295, allocations: 37.33 kB / 386.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.04295, allocations: 0 / 386.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002608/0.04321, allocations: 141.3 kB / 386.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.04324, allocations: 51.41 kB / 387 MB, free: 10.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.0434, allocations: 262.8 kB / 387.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.04341, allocations: 25.7 kB / 387.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/0.0435, allocations: 195.1 kB / 387.5 MB, free: 9.906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.04354, allocations: 51.53 kB / 387.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.04359, allocations: 39.36 kB / 387.5 MB, free: 9.809 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.04372, allocations: 0.4962 MB / 388 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.04377, allocations: 23.98 kB / 388.1 MB, free: 9.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/0.04382, allocations: 57.61 kB / 388.1 MB, free: 9.211 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.04397, allocations: 118.3 kB / 388.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.04397, allocations: 0 / 388.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000152/0.04412, allocations: 133.4 kB / 388.4 MB, free: 8.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.04414, allocations: 4 kB / 388.4 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.04414, allocations: 8.062 kB / 388.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.04415, allocations: 0 / 388.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.04429, allocations: 35.98 kB / 388.4 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.0443, allocations: 3.984 kB / 388.4 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.04435, allocations: 15.88 kB / 388.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.04436, allocations: 7.938 kB / 388.4 MB, free: 8.871 MB / 314.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.0001631/0.04452, allocations: 169.1 kB / 388.6 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.04456, allocations: 27.8 kB / 388.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.04459, allocations: 25.45 kB / 388.7 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.0446, allocations: 7.938 kB / 388.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.0446, allocations: 0 / 388.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.0446, allocations: 0 / 388.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.04476, allocations: 188.5 kB / 388.9 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.04476, allocations: 4 kB / 388.9 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.04488, allocations: 31.92 kB / 388.9 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.04488, allocations: 0 / 388.9 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.0449, allocations: 15.92 kB / 388.9 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.0449, allocations: 4 kB / 388.9 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0449, allocations: 0 / 388.9 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.04515, allocations: 291.8 kB / 389.2 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.04517, allocations: 19.89 kB / 389.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.04519, allocations: 7.938 kB / 389.2 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.04527, allocations: 0 / 389.2 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.04533, allocations: 15.97 kB / 389.2 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.04533, allocations: 4 kB / 389.2 MB, free: 8.016 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.755e-05/0.04542, allocations: 179.5 kB / 389.4 MB, free: 7.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04542, allocations: 4 kB / 389.4 MB, free: 7.836 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.0456, allocations: 47.89 kB / 389.5 MB, free: 7.789 MB / 314.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 (14): * Single equations (assignments): 14 * 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.002396/0.048, allocations: 103.2 kB / 389.6 MB, free: 7.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.04828, allocations: 91.33 kB / 389.7 MB, free: 7.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.04828, allocations: 0 / 389.7 MB, free: 7.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.04837, allocations: 47.61 kB / 389.7 MB, free: 7.539 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.04883, allocations: 48.09 kB / 389.7 MB, free: 7.492 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.05036, allocations: 0.5058 MB / 390.3 MB, free: 6.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.743e-05/0.05043, allocations: 80.33 kB / 390.3 MB, free: 6.855 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.05056, allocations: 21.95 kB / 390.4 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.05063, allocations: 28.5 kB / 390.4 MB, free: 6.809 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.05063, allocations: 0 / 390.4 MB, free: 6.809 MB / 314.7 MB Notification: Performance of Templates: time 0.004359/0.05499, allocations: 2.402 MB / 392.8 MB, free: 4.469 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.101124898996204]