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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 105.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.09883/0.09883, allocations: 22.69 MB / 325.4 MB, free: 3.57 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002022/0.002022, allocations: 71.88 kB / 457.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.129, allocations: 58.02 MB / 0.5036 GB, free: 7.156 MB / 382.1 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.501/0.6301, allocations: 22.51 MB / 0.5256 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007396/0.6308, allocations: 230.6 kB / 0.5258 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.631, allocations: 16.41 kB / 0.5258 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.917e-05/0.631, allocations: 27.27 kB / 0.5258 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.6312, allocations: 103 kB / 0.5259 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.6314, allocations: 43.61 kB / 0.526 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.6316, allocations: 292 kB / 0.5263 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.6319, allocations: 132.6 kB / 0.5264 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.632, allocations: 133.2 kB / 0.5265 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.6322, allocations: 100.8 kB / 0.5266 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.6322, allocations: 14 kB / 0.5266 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.553e-05/0.6322, allocations: 15.53 kB / 0.5266 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.6323, allocations: 37.33 kB / 0.5267 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.6324, allocations: 117 kB / 0.5268 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.6326, allocations: 225.9 kB / 0.527 GB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6326, allocations: 0 / 0.527 GB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6326, allocations: 0 / 0.527 GB, free: 6.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.6326, allocations: 0 / 0.527 GB, free: 6.445 MB / 382.1 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.0006963/0.6333, allocations: 0.5242 MB / 0.5275 GB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.6333, allocations: 13.41 kB / 0.5275 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.6334, allocations: 24.33 kB / 0.5275 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.6337, allocations: 273.5 kB / 0.5278 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.6337, allocations: 10.27 kB / 0.5278 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.6338, allocations: 18.09 kB / 0.5278 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.6342, allocations: 194 kB / 0.528 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6342, allocations: 1.562 kB / 0.528 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.6342, allocations: 9.25 kB / 0.528 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.6342, allocations: 3.969 kB / 0.528 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.6345, allocations: 118.9 kB / 0.5281 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009564/0.6355, allocations: 0.8504 MB / 0.529 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.6357, allocations: 84.73 kB / 0.5291 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.6359, allocations: 53.8 kB / 0.5291 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.6359, allocations: 9.219 kB / 0.5291 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.6359, allocations: 32.44 kB / 0.5291 GB, free: 4.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.6359, allocations: 0 / 0.5291 GB, free: 4.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005437/0.6364, allocations: 176.5 kB / 0.5293 GB, free: 4.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.6365, allocations: 52.88 kB / 0.5294 GB, free: 4.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.6367, allocations: 231.9 kB / 0.5296 GB, free: 4.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.6367, allocations: 26.8 kB / 0.5296 GB, free: 4.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.768e-05/0.6368, allocations: 141.7 kB / 0.5298 GB, free: 4.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.6369, allocations: 55.2 kB / 0.5298 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.6369, allocations: 35.95 kB / 0.5298 GB, free: 4.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.637, allocations: 332.8 kB / 0.5302 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.6371, allocations: 43.62 kB / 0.5302 GB, free: 4.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.6373, allocations: 65.73 kB / 0.5303 GB, free: 4.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.6382, allocations: 222.8 kB / 0.5305 GB, free: 4.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6382, allocations: 3.938 kB / 0.5305 GB, free: 4.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003559/0.6385, allocations: 171.7 kB / 0.5306 GB, free: 4.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.6386, allocations: 5.406 kB / 0.5306 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.6386, allocations: 7.922 kB / 0.5307 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.6386, allocations: 2.734 kB / 0.5307 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.6388, allocations: 32.17 kB / 0.5307 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.6388, allocations: 5.656 kB / 0.5307 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.6389, allocations: 18.48 kB / 0.5307 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.639, allocations: 3.375 kB / 0.5307 GB, free: 4.078 MB / 382.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: 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.0001669/0.6391, allocations: 150.3 kB / 0.5309 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.6392, allocations: 21.45 kB / 0.5309 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/0.6392, allocations: 30.97 kB / 0.5309 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.6392, allocations: 1.188 kB / 0.5309 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6392, allocations: 0 / 0.5309 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6392, allocations: 1.812 kB / 0.5309 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.6395, allocations: 263.9 kB / 0.5312 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6395, allocations: 0 / 0.5312 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.6397, allocations: 30.5 kB / 0.5312 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6397, allocations: 0.7969 kB / 0.5312 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.6398, allocations: 5.281 kB / 0.5312 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6398, allocations: 1.188 kB / 0.5312 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6398, allocations: 0.5625 kB / 0.5312 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.6403, allocations: 298.6 kB / 0.5315 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.6403, allocations: 104 kB / 0.5316 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.6404, allocations: 1.75 kB / 0.5316 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.6405, allocations: 7.516 kB / 0.5316 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.6405, allocations: 9.922 kB / 0.5316 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.6406, allocations: 7.703 kB / 0.5316 GB, free: 3.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.6407, allocations: 162.5 kB / 0.5318 GB, free: 3.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6407, allocations: 0 / 0.5318 GB, free: 3.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.641, allocations: 47.89 kB / 0.5318 GB, free: 3.379 MB / 382.1 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.856e-05/0.6411, allocations: 103.9 kB / 0.5319 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.6414, allocations: 105.9 kB / 0.532 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6414, allocations: 0 / 0.532 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.6416, allocations: 55.78 kB / 0.5321 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.6419, allocations: 56.03 kB / 0.5321 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.6431, allocations: 0.5596 MB / 0.5327 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.6433, allocations: 0.7387 MB / 0.5334 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.6435, allocations: 29.7 kB / 0.5334 GB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.6435, allocations: 20.47 kB / 0.5334 GB, free: 2.219 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6435, allocations: 0 / 0.5334 GB, free: 2.219 MB / 382.1 MB Notification: Performance of Templates: time 0.006993/0.6505, allocations: 2.424 MB / 0.5358 GB, free: 2.027 MB / 382.1 MB " [Timeout remaining time 659] 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: 5.342151755001396] Failed to read output from testmodel.py, exit status != 0: 0.6587712583132088 0.671794786 0.036125283 Calling exit ...