Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.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.001155/0.001155, allocations: 84.44 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.001415/0.001415, allocations: 165.2 kB / 23.98 MB, free: 0.5859 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.8643/0.8643, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.05953/0.05953, allocations: 18.12 MB / 278.8 MB, free: 11.54 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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 416.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.228e-05, allocations: 2.281 kB / 416.3 MB, free: 12.51 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.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/Liquid/HE_LiquidLiquid_1vol.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_003): time 0.01764/0.01766, allocations: 23.73 MB / 440 MB, free: 14.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.01867, allocations: 419.1 kB / 440.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.0188, allocations: 15.94 kB / 440.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.844e-05/0.01888, allocations: 47.12 kB / 440.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.0192, allocations: 153 kB / 440.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.01939, allocations: 92.77 kB / 440.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.01969, allocations: 436.3 kB / 441.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.01997, allocations: 214.6 kB / 441.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.02018, allocations: 192.1 kB / 441.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.02036, allocations: 137.4 kB / 441.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.02039, allocations: 28 kB / 441.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-05/0.02048, allocations: 60.14 kB / 441.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.02053, allocations: 72.38 kB / 441.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.02062, allocations: 136.3 kB / 442 MB, free: 13.28 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.02101, allocations: 413.9 kB / 442.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.02101, allocations: 4.594 kB / 442.4 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02101, allocations: 0 / 442.4 MB, free: 13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.02102, allocations: 0 / 442.4 MB, free: 13 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.000723/0.02174, allocations: 0.5548 MB / 443 MB, free: 12.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.02178, allocations: 9.719 kB / 443 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.02184, allocations: 44.7 kB / 443 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.02213, allocations: 258.7 kB / 443.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.02215, allocations: 16.88 kB / 443.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.02219, allocations: 25.08 kB / 443.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.02252, allocations: 282.8 kB / 443.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.02253, allocations: 192 / 443.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.02255, allocations: 8.312 kB / 443.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.02256, allocations: 12.94 kB / 443.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.02281, allocations: 203.4 kB / 443.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/0.02368, allocations: 0.7507 MB / 444.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.02394, allocations: 149.4 kB / 444.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.02408, allocations: 93.23 kB / 444.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.0241, allocations: 4.797 kB / 444.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.02412, allocations: 38.56 kB / 444.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000144/0.02426, allocations: 50.3 kB / 444.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.02427, allocations: 0 / 444.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007921/0.02506, allocations: 367.2 kB / 445.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.02509, allocations: 59.41 kB / 445.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.02527, allocations: 266.3 kB / 445.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.02529, allocations: 25.7 kB / 445.6 MB, free: 9.996 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.02539, allocations: 189.2 kB / 445.8 MB, free: 9.816 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.02543, allocations: 64.47 kB / 445.8 MB, free: 9.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.02549, allocations: 49.36 kB / 445.9 MB, free: 9.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.02558, allocations: 335.3 kB / 446.2 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.02566, allocations: 63.86 kB / 446.3 MB, free: 9.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.666e-05/0.02576, allocations: 95.58 kB / 446.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.02762, allocations: 0.7004 MB / 447.1 MB, free: 8.727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.02762, allocations: 3.938 kB / 447.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004431/0.02807, allocations: 311.1 kB / 447.4 MB, free: 8.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.02808, allocations: 4.656 kB / 447.4 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.02808, allocations: 0 / 447.4 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.02843, allocations: 110.9 kB / 447.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.02856, allocations: 45.84 kB / 447.5 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002948/0.02886, allocations: 0.5771 MB / 448.1 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.02892, allocations: 4 kB / 448.1 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.02894, allocations: 10.75 kB / 448.1 MB, free: 7.715 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: 2 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.02909, allocations: 143.8 kB / 448.3 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.02912, allocations: 28.52 kB / 448.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005144/0.02964, allocations: 366.8 kB / 448.7 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.02964, allocations: 4 kB / 448.7 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.02964, allocations: 0 / 448.7 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.02965, allocations: 1.781 kB / 448.7 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007193/0.03037, allocations: 0.629 MB / 449.3 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.03037, allocations: 0 / 449.3 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.03049, allocations: 37.95 kB / 449.3 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002544/0.03075, allocations: 104 kB / 449.4 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.03076, allocations: 9.406 kB / 449.4 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000249/0.03101, allocations: 0.5885 MB / 450 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.03101, allocations: 3.984 kB / 450 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.03154, allocations: 0.501 MB / 450.5 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.03157, allocations: 29.61 kB / 450.6 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.0316, allocations: 8.656 kB / 450.6 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.03168, allocations: 4 kB / 450.6 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.03172, allocations: 17.42 kB / 450.6 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.03174, allocations: 13.36 kB / 450.6 MB, free: 5.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.03186, allocations: 190.4 kB / 450.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03186, allocations: 3.938 kB / 450.8 MB, free: 5.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.03207, allocations: 79.83 kB / 450.9 MB, free: 5.094 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001264/0.0322, allocations: 108.5 kB / 451 MB, free: 4.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.03252, allocations: 188.2 kB / 451.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.03252, allocations: 0 / 451.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.03266, allocations: 112.6 kB / 451.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.03294, allocations: 73.41 kB / 451.3 MB, free: 4.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007702/0.03371, allocations: 0.648 MB / 452 MB, free: 4.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.03382, allocations: 171.1 kB / 452.2 MB, free: 3.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.03389, allocations: 35.83 kB / 452.2 MB, free: 3.832 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03389, allocations: 0 / 452.2 MB, free: 3.832 MB / 346.7 MB Notification: Performance of Templates: time 0.004917/0.0388, allocations: 5.119 MB / 457.3 MB, free: 15.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.807939636521041] Failed to read output from testmodel.py, exit status != 0: 0.04352502804249525 0.05084161099999994 0.028290706000000002 Calling exit ...