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.0007364/0.0007364, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0007315/0.0007315, allocations: 165.6 kB / 23.98 MB, free: 0.582 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 0.8185/0.8185, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.05938/0.05938, allocations: 18.12 MB / 278.8 MB, free: 11.55 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.664e-06/1.664e-06, allocations: 0 / 416.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.231e-05, allocations: 6.281 kB / 416.3 MB, free: 12.5 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.01881/0.01884, allocations: 23.35 MB / 439.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006321/0.01947, allocations: 221.9 kB / 439.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.0196, allocations: 19.88 kB / 439.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.154e-05/0.01967, allocations: 25.97 kB / 439.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.01986, allocations: 110.4 kB / 440 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.02, allocations: 41.95 kB / 440.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.02022, allocations: 313.7 kB / 440.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.02045, allocations: 117.1 kB / 440.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.02063, allocations: 133.5 kB / 440.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.02074, allocations: 74.52 kB / 440.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.02077, allocations: 12 kB / 440.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.063e-05/0.02079, allocations: 16 kB / 440.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.02082, allocations: 41.8 kB / 440.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.02088, allocations: 70.34 kB / 440.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.02111, allocations: 232.8 kB / 441.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.02111, allocations: 0.5156 kB / 441.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.02111, allocations: 0 / 441.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.02112, allocations: 0 / 441.1 MB, free: 14.09 MB / 346.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.0005484/0.02166, allocations: 449.4 kB / 441.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.0217, allocations: 12.92 kB / 441.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.02174, allocations: 24.8 kB / 441.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.02199, allocations: 218.2 kB / 441.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.02201, allocations: 17.41 kB / 441.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.02203, allocations: 16.38 kB / 441.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.02229, allocations: 191.8 kB / 442 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.0223, allocations: 4.188 kB / 442 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.02231, allocations: 5.078 kB / 442 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.02232, allocations: 4.375 kB / 442 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.02252, allocations: 130 kB / 442.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.02313, allocations: 0.7358 MB / 442.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.02325, allocations: 70.36 kB / 442.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.02333, allocations: 51.61 kB / 443 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.02334, allocations: 8 kB / 443 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.02336, allocations: 35.16 kB / 443 MB, free: 12.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.02336, allocations: 0 / 443 MB, free: 12.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003166/0.02368, allocations: 187.8 kB / 443.2 MB, free: 11.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.02371, allocations: 55.41 kB / 443.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.02384, allocations: 196 kB / 443.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.02386, allocations: 29.64 kB / 443.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.02393, allocations: 153.3 kB / 443.6 MB, free: 11.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.02396, allocations: 55.48 kB / 443.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.024, allocations: 27.27 kB / 443.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.02408, allocations: 329.4 kB / 444 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.02415, allocations: 37.81 kB / 444.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.02423, allocations: 70.64 kB / 444.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.02469, allocations: 221.3 kB / 444.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.02469, allocations: 0 / 444.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002/0.02489, allocations: 173.5 kB / 444.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.0249, allocations: 4.516 kB / 444.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.02491, allocations: 0 / 444.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.02492, allocations: 4 kB / 444.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.02503, allocations: 41.34 kB / 444.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.02504, allocations: 0 / 444.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.02509, allocations: 13.83 kB / 444.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.0251, allocations: 4 kB / 444.6 MB, free: 10.62 MB / 346.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.0001205/0.02522, allocations: 140.6 kB / 444.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.02524, allocations: 23.8 kB / 444.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.02527, allocations: 28.09 kB / 444.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.02528, allocations: 4.75 kB / 444.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.02528, allocations: 0 / 444.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.02528, allocations: 0.7969 kB / 444.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.02544, allocations: 181.6 kB / 445 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.02544, allocations: 0 / 445 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.02555, allocations: 37.05 kB / 445 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.02555, allocations: 4 kB / 445 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.02556, allocations: 7.938 kB / 445 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.02556, allocations: 0 / 445 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.02556, allocations: 4.609 kB / 445 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.02586, allocations: 294.8 kB / 445.3 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.02588, allocations: 20.53 kB / 445.3 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.0259, allocations: 8.641 kB / 445.3 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.02595, allocations: 9.203 kB / 445.3 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.026, allocations: 18.36 kB / 445.4 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.026, allocations: 4 kB / 445.4 MB, free: 9.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.212e-05/0.02609, allocations: 148.2 kB / 445.5 MB, free: 9.727 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02609, allocations: 4.062 kB / 445.5 MB, free: 9.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.02626, allocations: 43.95 kB / 445.6 MB, free: 9.68 MB / 346.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 8.474e-05/0.02635, allocations: 104.2 kB / 445.7 MB, free: 9.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.02654, allocations: 104.9 kB / 445.8 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.02654, allocations: 0 / 445.8 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.02662, allocations: 54.69 kB / 445.8 MB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.02685, allocations: 50.48 kB / 445.9 MB, free: 9.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.02755, allocations: 0.5047 MB / 446.4 MB, free: 8.879 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.571e-05/0.02764, allocations: 126.2 kB / 446.5 MB, free: 8.762 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.543e-05/0.02769, allocations: 24.5 kB / 446.5 MB, free: 8.738 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02769, allocations: 0 / 446.5 MB, free: 8.738 MB / 346.7 MB Notification: Performance of Templates: time 0.003436/0.03112, allocations: 2.676 MB / 449.2 MB, free: 7.227 MB / 346.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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4157051630318165] Failed to read output from testmodel.py, exit status != 0: 0.036375888623297215 0.044387717 0.021724642000000002 Calling exit ...