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.001334/0.001334, allocations: 75.59 kB / 20.8 MB, free: 3.711 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.001451/0.001451, allocations: 166 kB / 24.09 MB, free: 428 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 0.916/0.916, allocations: 177.1 MB / 204.4 MB, free: 5.699 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.06419/0.06419, allocations: 18.13 MB / 279 MB, free: 11.48 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.924e-06/1.924e-06, allocations: 1.375 kB / 416.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.132e-05, allocations: 2.281 kB / 416.6 MB, free: 12.45 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.02375/0.02378, allocations: 23.39 MB / 440 MB, free: 15.13 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.02459, allocations: 221.9 kB / 440.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.02472, allocations: 15.88 kB / 440.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.201e-05/0.0248, allocations: 30.23 kB / 440.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.02502, allocations: 106.3 kB / 440.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.02518, allocations: 41.78 kB / 440.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.02544, allocations: 310.4 kB / 440.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.02568, allocations: 124.5 kB / 440.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.02585, allocations: 121.3 kB / 440.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.02598, allocations: 74.52 kB / 441 MB, free: 14.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.02601, allocations: 16 kB / 441 MB, free: 14.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.524e-05/0.02603, allocations: 16 kB / 441 MB, free: 14.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.02607, allocations: 42.5 kB / 441.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.02614, allocations: 77.48 kB / 441.1 MB, free: 14.13 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.02638, allocations: 225.3 kB / 441.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.02638, allocations: 0 / 441.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.02638, allocations: 0 / 441.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.02639, allocations: 0 / 441.3 MB, free: 13.98 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.0005967/0.02699, allocations: 453.3 kB / 441.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.02702, allocations: 13.53 kB / 441.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.02707, allocations: 24.8 kB / 441.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.02733, allocations: 222.6 kB / 442 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.02735, allocations: 12.7 kB / 442.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.02738, allocations: 16.38 kB / 442.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.02765, allocations: 192.3 kB / 442.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.02766, allocations: 192 / 442.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.02768, allocations: 8.375 kB / 442.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.02768, allocations: 4.375 kB / 442.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.02789, allocations: 131 kB / 442.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.02857, allocations: 0.7306 MB / 443.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.02872, allocations: 78.91 kB / 443.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.0288, allocations: 59.94 kB / 443.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.02881, allocations: 0 / 443.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.02883, allocations: 35.11 kB / 443.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 8.01e-07/0.02884, allocations: 0 / 443.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003519/0.02919, allocations: 186.8 kB / 443.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.02922, allocations: 52.2 kB / 443.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.02937, allocations: 199.7 kB / 443.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.02939, allocations: 37.7 kB / 443.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.02947, allocations: 145 kB / 443.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.02951, allocations: 63.36 kB / 444 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.02955, allocations: 27.78 kB / 444 MB, free: 11.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.02964, allocations: 333 kB / 444.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.02972, allocations: 37.86 kB / 444.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.137e-05/0.0298, allocations: 65.03 kB / 444.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.0303, allocations: 225.4 kB / 444.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.03031, allocations: 0 / 444.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002119/0.03052, allocations: 165.8 kB / 444.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.03054, allocations: 4.844 kB / 444.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.03054, allocations: 4 kB / 444.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.03056, allocations: 4 kB / 444.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.03068, allocations: 36.83 kB / 444.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.03069, allocations: 0.5625 kB / 444.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.03075, allocations: 17.08 kB / 444.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.03076, allocations: 8.812 kB / 444.9 MB, free: 10.5 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.0001402/0.0309, allocations: 136.3 kB / 445 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.03092, allocations: 23.8 kB / 445 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.03096, allocations: 23.81 kB / 445.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.03096, allocations: 4.656 kB / 445.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.03096, allocations: 0 / 445.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.03097, allocations: 0.75 kB / 445.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.03113, allocations: 185.6 kB / 445.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.03113, allocations: 0 / 445.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.03125, allocations: 37 kB / 445.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.03125, allocations: 0 / 445.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.03126, allocations: 4.688 kB / 445.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.03127, allocations: 0 / 445.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.03127, allocations: 0 / 445.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.0316, allocations: 294.7 kB / 445.6 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.03162, allocations: 25.11 kB / 445.6 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.03164, allocations: 11.94 kB / 445.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.197e-05/0.0317, allocations: 1.688 kB / 445.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.03176, allocations: 14.33 kB / 445.6 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.03176, allocations: 7.938 kB / 445.6 MB, free: 9.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.807e-05/0.03185, allocations: 148.3 kB / 445.8 MB, free: 9.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03185, allocations: 0 / 445.8 MB, free: 9.621 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.03204, allocations: 47.89 kB / 445.8 MB, free: 9.574 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.698e-05/0.03213, allocations: 104.4 kB / 445.9 MB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.03233, allocations: 105.4 kB / 446 MB, free: 9.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.03234, allocations: 0 / 446 MB, free: 9.375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.03241, allocations: 53.98 kB / 446.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.03266, allocations: 50.86 kB / 446.1 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.03334, allocations: 490.4 kB / 446.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.427e-05/0.03343, allocations: 126.4 kB / 446.7 MB, free: 8.688 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.998e-05/0.03351, allocations: 28.39 kB / 446.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.03354, allocations: 20.5 kB / 446.8 MB, free: 8.645 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.03354, allocations: 0 / 446.8 MB, free: 8.645 MB / 346.7 MB Notification: Performance of Templates: time 0.004246/0.03779, allocations: 2.373 MB / 449.2 MB, free: 7.223 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.0056495713070035] Failed to read output from testmodel.py, exit status != 0: 0.04430497530847788 0.053311083 0.025220043 Calling exit ...