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.001814/0.001814, allocations: 75.64 kB / 19.96 MB, free: 1.746 MB / 14.72 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.001392/0.001392, allocations: 171.6 kB / 23.24 MB, free: 4.855 MB / 14.72 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.517/1.517, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.105/0.105, allocations: 18.13 MB / 278.1 MB, free: 15.05 MB / 270.1 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.633e-06/1.633e-06, allocations: 0 / 415.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.722e-05, allocations: 6.219 kB / 415.6 MB, free: 2.555 MB / 334.1 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.03492/0.03495, allocations: 23.76 MB / 439.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.03633, allocations: 410.5 kB / 439.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.03652, allocations: 15.88 kB / 439.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.03663, allocations: 47.5 kB / 439.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004061/0.03703, allocations: 150.7 kB / 440 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.03728, allocations: 79.77 kB / 440 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.03774, allocations: 449.6 kB / 440.5 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.03808, allocations: 207.5 kB / 440.7 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.03837, allocations: 187.4 kB / 440.9 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.03862, allocations: 143.6 kB / 441 MB, free: 9.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.03867, allocations: 32 kB / 441 MB, free: 9.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.03882, allocations: 63.95 kB / 441.1 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.214e-05/0.03891, allocations: 67.75 kB / 441.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.03908, allocations: 127.7 kB / 441.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.0396, allocations: 422.6 kB / 441.7 MB, free: 8.598 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.0396, allocations: 3.938 kB / 441.7 MB, free: 8.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.03961, allocations: 0 / 441.7 MB, free: 8.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.03961, allocations: 0 / 441.7 MB, free: 8.594 MB / 366.1 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.001114/0.04072, allocations: 0.5593 MB / 442.3 MB, free: 8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.04076, allocations: 8.922 kB / 442.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.04084, allocations: 40.7 kB / 442.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.04126, allocations: 268.4 kB / 442.6 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.04129, allocations: 16.88 kB / 442.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.04134, allocations: 24.38 kB / 442.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.04184, allocations: 276.2 kB / 442.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.04185, allocations: 4.188 kB / 442.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.04189, allocations: 16.36 kB / 442.9 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.0419, allocations: 4.375 kB / 442.9 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.0423, allocations: 205.8 kB / 443.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.04367, allocations: 0.7499 MB / 443.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.04404, allocations: 146.8 kB / 444 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.04426, allocations: 96.81 kB / 444.1 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.04429, allocations: 7.938 kB / 444.1 MB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.04432, allocations: 30.56 kB / 444.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003095/0.04463, allocations: 55.8 kB / 444.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.04463, allocations: 0 / 444.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.001454/0.04609, allocations: 370 kB / 444.5 MB, free: 5.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.04613, allocations: 55.41 kB / 444.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.04643, allocations: 260.2 kB / 444.9 MB, free: 5.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.04646, allocations: 33.7 kB / 444.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.0466, allocations: 184.3 kB / 445.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.028e-05/0.04669, allocations: 75.41 kB / 445.1 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.04679, allocations: 45.69 kB / 445.2 MB, free: 4.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.04695, allocations: 334.8 kB / 445.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.0471, allocations: 63.97 kB / 445.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.04726, allocations: 92.73 kB / 445.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004343/0.0516, allocations: 0.6998 MB / 446.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.05161, allocations: 0 / 446.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008961/0.0525, allocations: 304.8 kB / 446.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.05252, allocations: 8 kB / 446.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.05253, allocations: 0 / 446.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008152/0.05334, allocations: 112.8 kB / 446.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.0536, allocations: 43.91 kB / 446.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005315/0.05414, allocations: 0.5797 MB / 447.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.0543, allocations: 8.047 kB / 447.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.05433, allocations: 8 kB / 447.4 MB, free: 2.625 MB / 366.1 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.0002853/0.05461, allocations: 149.7 kB / 447.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.05468, allocations: 23.86 kB / 447.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009973/0.05567, allocations: 356.9 kB / 447.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.05568, allocations: 4 kB / 447.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.05569, allocations: 0 / 447.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.05569, allocations: 3.984 kB / 447.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.05706, allocations: 0.6331 MB / 448.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.05706, allocations: 0 / 448.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.05732, allocations: 43.92 kB / 448.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005771/0.0579, allocations: 100.8 kB / 448.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.05792, allocations: 4 kB / 448.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005304/0.05845, allocations: 0.5952 MB / 449.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.05846, allocations: 4 kB / 449.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.05946, allocations: 0.5044 MB / 449.8 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.05951, allocations: 31.78 kB / 449.9 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.05955, allocations: 4 kB / 449.9 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.05971, allocations: 8.062 kB / 449.9 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.05978, allocations: 23.95 kB / 449.9 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.05979, allocations: 4 kB / 449.9 MB, free: 24 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.1859/0.2457, allocations: 188.8 kB / 450.1 MB, free: 44.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2457, allocations: 0 / 450.1 MB, free: 44.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00055/0.2462, allocations: 79.89 kB / 450.2 MB, free: 44.65 MB / 366.1 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.0001989/0.2464, allocations: 110.4 kB / 450.3 MB, free: 44.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00058/0.247, allocations: 187.4 kB / 450.4 MB, free: 44.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.247, allocations: 1 kB / 450.4 MB, free: 44.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.2473, allocations: 112.7 kB / 450.6 MB, free: 44.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.2477, allocations: 68.2 kB / 450.6 MB, free: 44.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.2488, allocations: 0.627 MB / 451.3 MB, free: 44.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.249, allocations: 170.8 kB / 451.4 MB, free: 44.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.2491, allocations: 38.97 kB / 451.5 MB, free: 44.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.2492, allocations: 36.17 kB / 451.5 MB, free: 44.18 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2492, allocations: 0 / 451.5 MB, free: 44.18 MB / 366.1 MB Notification: Performance of Templates: time 0.009426/0.2586, allocations: 3.954 MB / 455.4 MB, free: 43.98 MB / 366.1 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: 5.032574687153101] Failed to read output from testmodel.py, exit status != 0: 0.2668967694044113 0.27861750699999993 0.23656082399999995 Calling exit ...