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.001254/0.001254, allocations: 77.97 kB / 21.46 MB, free: 3.043 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.001149/0.001149, allocations: 166.8 kB / 24.85 MB, free: 8.641 MB / 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.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.07563/0.07563, allocations: 18.14 MB / 280 MB, free: 11.17 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 1.733e-06/1.733e-06, allocations: 0 / 358.6 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.654e-05, allocations: 5.406 kB / 358.6 MB, free: 8.551 MB / 330.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.02503/0.02505, allocations: 26.06 MB / 384.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006615/0.02571, allocations: 223.2 kB / 384.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.02584, allocations: 15.88 kB / 384.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 6.37e-05/0.0259, allocations: 31.64 kB / 384.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.02608, allocations: 103 kB / 385 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.0262, allocations: 47.86 kB / 385.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.0264, allocations: 302.4 kB / 385.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.02659, allocations: 133.5 kB / 385.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.02675, allocations: 135.6 kB / 385.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.02686, allocations: 63.83 kB / 385.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.02688, allocations: 15.94 kB / 385.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.286e-05/0.02691, allocations: 16 kB / 385.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.02694, allocations: 43.77 kB / 385.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.027, allocations: 75.83 kB / 385.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.02716, allocations: 155.4 kB / 386 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.02717, allocations: 0 / 386 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02717, allocations: 0 / 386 MB, free: 13.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.02717, allocations: 0 / 386 MB, free: 13.31 MB / 362.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.0005056/0.02768, allocations: 0.5425 MB / 386.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.02771, allocations: 8.922 kB / 386.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.02776, allocations: 36.8 kB / 386.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.02798, allocations: 223.9 kB / 386.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.02801, allocations: 12.7 kB / 386.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.02803, allocations: 16.38 kB / 386.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.02825, allocations: 183.5 kB / 387 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.02826, allocations: 4.172 kB / 387 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.02827, allocations: 8.375 kB / 387 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.02828, allocations: 4.375 kB / 387 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.02838, allocations: 64.83 kB / 387.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.02898, allocations: 0.9291 MB / 388 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.871e-05/0.02907, allocations: 66.92 kB / 388.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.0291, allocations: 31.67 kB / 388.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.02911, allocations: 8 kB / 388.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.02913, allocations: 37.39 kB / 388.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.02913, allocations: 0 / 388.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001959/0.02933, allocations: 129.7 kB / 388.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.02935, allocations: 55.41 kB / 388.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.02947, allocations: 246.8 kB / 388.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.02949, allocations: 25.7 kB / 388.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.02956, allocations: 191.1 kB / 388.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.02959, allocations: 59.52 kB / 388.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.02963, allocations: 43.28 kB / 388.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.02975, allocations: 0.5001 MB / 389.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.431e-05/0.02978, allocations: 15.98 kB / 389.4 MB, free: 9.664 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.02984, allocations: 51.03 kB / 389.4 MB, free: 9.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.02998, allocations: 95.16 kB / 389.5 MB, free: 9.492 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02999, allocations: 0 / 389.5 MB, free: 9.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001599/0.03015, allocations: 124.8 kB / 389.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.03016, allocations: 7.938 kB / 389.7 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.03017, allocations: 4 kB / 389.7 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.03018, allocations: 0 / 389.7 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.0303, allocations: 31.98 kB / 389.7 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.0303, allocations: 3.984 kB / 389.7 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.03035, allocations: 15.89 kB / 389.7 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.03036, allocations: 8 kB / 389.7 MB, free: 9.297 MB / 362.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.0001473/0.03051, allocations: 172.2 kB / 389.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.03054, allocations: 27.86 kB / 389.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.03058, allocations: 29.39 kB / 389.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.03058, allocations: 0 / 389.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.03059, allocations: 4 kB / 389.9 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.03059, allocations: 0 / 389.9 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.03075, allocations: 157.1 kB / 390.1 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.03075, allocations: 3.938 kB / 390.1 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.03085, allocations: 31.98 kB / 390.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.03085, allocations: 3.938 kB / 390.1 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.03086, allocations: 4 kB / 390.1 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.03086, allocations: 4 kB / 390.1 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.03087, allocations: 3.938 kB / 390.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.03107, allocations: 279.8 kB / 390.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.03109, allocations: 15.86 kB / 390.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.03111, allocations: 8 kB / 390.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.397e-05/0.03117, allocations: 12 kB / 390.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.0312, allocations: 15.92 kB / 390.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.03121, allocations: 4 kB / 390.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.334e-05/0.03127, allocations: 171.4 kB / 390.6 MB, free: 8.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03127, allocations: 0 / 390.6 MB, free: 8.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.03145, allocations: 47.89 kB / 390.7 MB, free: 8.262 MB / 362.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 7.851e-05/0.03152, allocations: 107.2 kB / 390.8 MB, free: 8.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.03163, allocations: 70.08 kB / 390.9 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.03163, allocations: 8.125 kB / 390.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.03167, allocations: 39.61 kB / 390.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.0319, allocations: 51.95 kB / 391 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008385/0.03274, allocations: 0.4981 MB / 391.5 MB, free: 7.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.03278, allocations: 72.33 kB / 391.5 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.198e-05/0.03286, allocations: 29.94 kB / 391.6 MB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.03298, allocations: 126.2 kB / 391.7 MB, free: 7.203 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03298, allocations: 7.938 kB / 391.7 MB, free: 7.195 MB / 362.7 MB Notification: Performance of Templates: time 0.00424/0.03722, allocations: 2.683 MB / 394.4 MB, free: 4.578 MB / 362.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.017003169748932]