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.00131/0.00131, allocations: 110 kB / 18.93 MB, free: 2.945 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.00136/0.00136, allocations: 192.2 kB / 22.23 MB, free: 5.16 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.529/1.529, allocations: 225.6 MB / 251 MB, free: 13.01 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.1013/0.1013, allocations: 22.7 MB / 329 MB, free: 2.348 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.00205/0.00205, allocations: 63.89 kB / 463.1 MB, free: 14.61 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.134, allocations: 58.06 MB / 0.5089 GB, free: 4.438 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.3185/0.4525, allocations: 22.81 MB / 0.5312 GB, free: 7.297 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0008973/0.4534, allocations: 221.8 kB / 0.5314 GB, free: 7.258 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.4536, allocations: 16.47 kB / 0.5314 GB, free: 7.25 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 9.873e-05/0.4537, allocations: 31.58 kB / 0.5315 GB, free: 7.23 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.454, allocations: 103.5 kB / 0.5316 GB, free: 7.188 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.4542, allocations: 39.67 kB / 0.5316 GB, free: 7.188 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003155/0.4545, allocations: 286.8 kB / 0.5319 GB, free: 7.113 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.4547, allocations: 131.2 kB / 0.532 GB, free: 7.102 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.4549, allocations: 134.5 kB / 0.5321 GB, free: 7.078 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.4551, allocations: 99.25 kB / 0.5322 GB, free: 7.051 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.4552, allocations: 14.16 kB / 0.5322 GB, free: 7.051 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/0.4552, allocations: 15.34 kB / 0.5323 GB, free: 7.051 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.4553, allocations: 44.31 kB / 0.5323 GB, free: 7.035 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.4554, allocations: 111.8 kB / 0.5324 GB, free: 7 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.4557, allocations: 232.1 kB / 0.5326 GB, free: 6.949 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4557, allocations: 0 / 0.5326 GB, free: 6.949 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.563e-06/0.4557, allocations: 0 / 0.5326 GB, free: 6.949 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 7.374e-06/0.4557, allocations: 0 / 0.5326 GB, free: 6.949 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.0006921/0.4564, allocations: 448.7 kB / 0.5331 GB, free: 6.602 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4564, allocations: 13.22 kB / 0.5331 GB, free: 6.598 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.4565, allocations: 32.95 kB / 0.5331 GB, free: 6.578 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.4567, allocations: 215.8 kB / 0.5333 GB, free: 6.41 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.4568, allocations: 19.58 kB / 0.5333 GB, free: 6.406 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.4568, allocations: 13.5 kB / 0.5333 GB, free: 6.406 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.4572, allocations: 193.9 kB / 0.5335 GB, free: 6.328 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4572, allocations: 1.406 kB / 0.5335 GB, free: 6.328 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.4572, allocations: 12.83 kB / 0.5335 GB, free: 6.324 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.4572, allocations: 7.75 kB / 0.5335 GB, free: 6.32 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.4575, allocations: 121.2 kB / 0.5337 GB, free: 6.312 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.4584, allocations: 0.8079 MB / 0.5345 GB, free: 5.711 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.4585, allocations: 82.56 kB / 0.5345 GB, free: 5.68 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.4587, allocations: 53.42 kB / 0.5346 GB, free: 5.672 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.4587, allocations: 6.062 kB / 0.5346 GB, free: 5.668 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4587, allocations: 31.47 kB / 0.5346 GB, free: 5.629 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.4587, allocations: 1.094 kB / 0.5346 GB, free: 5.629 MB / 382.1 MB
Notification: Performance of matching and sorting (n=14): time 0.0005011/0.4592, allocations: 180.1 kB / 0.5348 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.4593, allocations: 54.33 kB / 0.5348 GB, free: 5.52 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.4595, allocations: 228.2 kB / 0.5351 GB, free: 5.418 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.4595, allocations: 25.7 kB / 0.5351 GB, free: 5.387 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.4595, allocations: 148.5 kB / 0.5352 GB, free: 5.281 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.4596, allocations: 47.97 kB / 0.5353 GB, free: 5.25 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.4596, allocations: 32.19 kB / 0.5353 GB, free: 5.234 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 5.888e-05/0.4597, allocations: 341.5 kB / 0.5356 GB, free: 4.914 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.4598, allocations: 39.88 kB / 0.5357 GB, free: 4.91 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.4599, allocations: 64.45 kB / 0.5357 GB, free: 4.887 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008293/0.4608, allocations: 232.5 kB / 0.5359 GB, free: 4.844 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4608, allocations: 0.6562 kB / 0.5359 GB, free: 4.844 MB / 382.1 MB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003339/0.4611, allocations: 165.3 kB / 0.5361 GB, free: 4.797 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4611, allocations: 5.797 kB / 0.5361 GB, free: 4.797 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4611, allocations: 1.094 kB / 0.5361 GB, free: 4.797 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4611, allocations: 2.031 kB / 0.5361 GB, free: 4.797 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.4614, allocations: 40.84 kB / 0.5362 GB, free: 4.793 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4614, allocations: 1.281 kB / 0.5362 GB, free: 4.793 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.4615, allocations: 17.69 kB / 0.5362 GB, free: 4.781 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.4615, allocations: 4.281 kB / 0.5362 GB, free: 4.781 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.0001423/0.4616, allocations: 145.6 kB / 0.5363 GB, free: 4.656 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.4617, allocations: 22.2 kB / 0.5363 GB, free: 4.645 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.4617, allocations: 27.92 kB / 0.5364 GB, free: 4.633 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4617, allocations: 2.406 kB / 0.5364 GB, free: 4.633 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4617, allocations: 0 / 0.5364 GB, free: 4.633 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4617, allocations: 6.375 kB / 0.5364 GB, free: 4.629 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.462, allocations: 233.2 kB / 0.5366 GB, free: 4.473 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.462, allocations: 0 / 0.5366 GB, free: 4.473 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.4622, allocations: 34.22 kB / 0.5366 GB, free: 4.469 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4622, allocations: 0.7969 kB / 0.5366 GB, free: 4.469 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4622, allocations: 4.656 kB / 0.5366 GB, free: 4.469 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4622, allocations: 1.469 kB / 0.5366 GB, free: 4.469 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4622, allocations: 0 / 0.5366 GB, free: 4.469 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.4627, allocations: 309.7 kB / 0.5369 GB, free: 4.309 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.4627, allocations: 21.94 kB / 0.5369 GB, free: 4.293 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.4627, allocations: 5.438 kB / 0.537 GB, free: 4.293 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.4629, allocations: 7.766 kB / 0.537 GB, free: 4.293 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.4629, allocations: 21.5 kB / 0.537 GB, free: 4.285 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.4629, allocations: 1.406 kB / 0.537 GB, free: 4.285 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0001378/0.4631, allocations: 164.1 kB / 0.5371 GB, free: 4.207 MB / 382.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4631, allocations: 5.156 kB / 0.5371 GB, free: 4.203 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0003439/0.4634, allocations: 44.14 kB / 0.5372 GB, free: 4.199 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 0.0001036/0.4635, allocations: 98.75 kB / 0.5373 GB, free: 4.113 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003415/0.4638, allocations: 105.9 kB / 0.5374 GB, free: 4.105 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4638, allocations: 0 / 0.5374 GB, free: 4.105 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000137/0.464, allocations: 57.25 kB / 0.5374 GB, free: 4.102 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4644, allocations: 55.19 kB / 0.5375 GB, free: 4.086 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.4654, allocations: 0.5544 MB / 0.538 GB, free: 3.758 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.4657, allocations: 0.7396 MB / 0.5388 GB, free: 3.059 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.000127/0.4658, allocations: 32.08 kB / 0.5388 GB, free: 3.047 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.4658, allocations: 25.72 kB / 0.5388 GB, free: 3.039 MB / 382.1 MB
Notification: Performance of SimCode: time 4.41e-07/0.4658, allocations: 0 / 0.5388 GB, free: 3.039 MB / 382.1 MB
Notification: Performance of Templates: time 0.006433/0.4723, allocations: 2.486 MB / 0.5412 GB, free: 2.844 MB / 382.1 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: 5.370198511518538]
Failed to read output from testmodel.py, exit status != 0:
0.48051441740244627 0.497485384 0.038088515
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f23f18c57b0>