Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.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.001464/0.001464, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001622/0.001622, allocations: 189.4 kB / 22.23 MB, free: 5.137 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.535/1.535, allocations: 225.6 MB / 251 MB, free: 13.02 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.1418/0.1418, allocations: 22.7 MB / 329 MB, free: 2.363 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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002")
translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003315/0.003315, allocations: 63.89 kB / 463.1 MB, free: 14.62 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1566, allocations: 58.07 MB / 0.5089 GB, free: 4.445 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.004598/0.1612, allocations: 2.593 MB / 0.5115 GB, free: 1.832 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001008/0.1622, allocations: 366.7 kB / 0.5118 GB, free: 1.473 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1624, allocations: 15.88 kB / 0.5118 GB, free: 1.457 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.1625, allocations: 39.58 kB / 0.5119 GB, free: 1.418 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.1629, allocations: 127 kB / 0.512 GB, free: 1.293 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1632, allocations: 71.84 kB / 0.5121 GB, free: 1.223 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003992/0.1636, allocations: 362.2 kB / 0.5124 GB, free: 0.8672 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.1639, allocations: 141.9 kB / 0.5125 GB, free: 0.7305 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.1641, allocations: 167.4 kB / 0.5127 GB, free: 0.5664 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.1643, allocations: 131.3 kB / 0.5128 GB, free: 448 kB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.1643, allocations: 16 kB / 0.5128 GB, free: 432 kB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1644, allocations: 51.97 kB / 0.5129 GB, free: 380 kB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1645, allocations: 39.84 kB / 0.5129 GB, free: 340 kB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.1646, allocations: 143.3 kB / 0.5131 GB, free: 196 kB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.2551/0.4198, allocations: 307.2 kB / 0.5134 GB, free: 12.77 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4198, allocations: 0 / 0.5134 GB, free: 12.77 MB / 382.1 MB
Notification: Performance of FrontEnd: time 2.054e-06/0.4198, allocations: 0.6875 kB / 0.5134 GB, free: 12.77 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 1.365e-05/0.4198, allocations: 0 / 0.5134 GB, free: 12.77 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: 45
 * Number of variables: 45
Notification: Performance of Generate backend data structure: time 0.0008327/0.4206, allocations: 0.5015 MB / 0.5139 GB, free: 12.39 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.4206, allocations: 8.75 kB / 0.5139 GB, free: 12.39 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.4207, allocations: 32.03 kB / 0.5139 GB, free: 12.38 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.4211, allocations: 234.8 kB / 0.5141 GB, free: 12.21 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.4211, allocations: 15.94 kB / 0.5141 GB, free: 12.21 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.4212, allocations: 18.25 kB / 0.5142 GB, free: 12.21 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.4215, allocations: 204.1 kB / 0.5143 GB, free: 12.15 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4215, allocations: 192 / 0.5143 GB, free: 12.15 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.4216, allocations: 14.47 kB / 0.5144 GB, free: 12.14 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.4216, allocations: 4.531 kB / 0.5144 GB, free: 12.14 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.4218, allocations: 124.7 kB / 0.5145 GB, free: 12.14 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.4227, allocations: 0.7828 MB / 0.5152 GB, free: 11.63 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.423, allocations: 103.9 kB / 0.5153 GB, free: 11.61 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/0.4231, allocations: 37.7 kB / 0.5154 GB, free: 11.6 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.4231, allocations: 1.562 kB / 0.5154 GB, free: 11.6 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4231, allocations: 37.47 kB / 0.5154 GB, free: 11.56 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.4231, allocations: 0.875 kB / 0.5154 GB, free: 11.56 MB / 382.1 MB
Notification: Performance of matching and sorting (n=10): time 0.0003427/0.4235, allocations: 151.9 kB / 0.5156 GB, free: 11.51 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.4235, allocations: 52.16 kB / 0.5156 GB, free: 11.45 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.4238, allocations: 293.7 kB / 0.5159 GB, free: 11.35 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4238, allocations: 28.98 kB / 0.5159 GB, free: 11.32 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.4239, allocations: 178.2 kB / 0.5161 GB, free: 11.21 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.4239, allocations: 35.05 kB / 0.5161 GB, free: 11.18 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.4239, allocations: 32.44 kB / 0.5162 GB, free: 11.17 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 5.972e-05/0.424, allocations: 339.2 kB / 0.5165 GB, free: 10.86 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.88e-05/0.4241, allocations: 36.58 kB / 0.5165 GB, free: 10.86 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-05/0.4242, allocations: 66.02 kB / 0.5166 GB, free: 10.83 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.4254, allocations: 256.7 kB / 0.5168 GB, free: 10.8 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4254, allocations: 0 / 0.5168 GB, free: 10.8 MB / 382.1 MB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002711/0.4256, allocations: 170.9 kB / 0.517 GB, free: 10.75 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4257, allocations: 5.438 kB / 0.517 GB, free: 10.75 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.4257, allocations: 3.375 kB / 0.517 GB, free: 10.75 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.4257, allocations: 5.375 kB / 0.517 GB, free: 10.75 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.4259, allocations: 37.52 kB / 0.517 GB, free: 10.75 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4259, allocations: 5.375 kB / 0.517 GB, free: 10.75 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.426, allocations: 15.89 kB / 0.5171 GB, free: 10.74 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.4261, allocations: 7.609 kB / 0.5171 GB, free: 10.74 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.0001533/0.4262, allocations: 133.1 kB / 0.5172 GB, free: 10.63 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.4263, allocations: 32.75 kB / 0.5172 GB, free: 10.61 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.4265, allocations: 152.5 kB / 0.5174 GB, free: 10.57 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4265, allocations: 5.531 kB / 0.5174 GB, free: 10.57 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4265, allocations: 1.938 kB / 0.5174 GB, free: 10.57 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.4265, allocations: 0 / 0.5174 GB, free: 10.57 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.4268, allocations: 253.2 kB / 0.5176 GB, free: 10.41 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4268, allocations: 1.516 kB / 0.5176 GB, free: 10.41 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.427, allocations: 29.77 kB / 0.5176 GB, free: 10.41 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.427, allocations: 3.375 kB / 0.5176 GB, free: 10.41 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.427, allocations: 4.078 kB / 0.5177 GB, free: 10.41 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.427, allocations: 8.203 kB / 0.5177 GB, free: 10.4 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.427, allocations: 4.312 kB / 0.5177 GB, free: 10.4 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.4273, allocations: 277.2 kB / 0.5179 GB, free: 10.26 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.4274, allocations: 21.73 kB / 0.5179 GB, free: 10.25 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.4274, allocations: 9.578 kB / 0.518 GB, free: 10.24 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4275, allocations: 10.36 kB / 0.518 GB, free: 10.23 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.4276, allocations: 7.375 kB / 0.518 GB, free: 10.23 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.4276, allocations: 8.562 kB / 0.518 GB, free: 10.23 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.000163/0.4277, allocations: 213.9 kB / 0.5182 GB, free: 10.15 MB / 382.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4277, allocations: 0 / 0.5182 GB, free: 10.15 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0002988/0.428, allocations: 51.97 kB / 0.5182 GB, free: 10.14 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 (13):
 * Single equations (assignments): 13
 * 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.0001117/0.4281, allocations: 101.5 kB / 0.5183 GB, free: 10.06 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002166/0.4284, allocations: 97.94 kB / 0.5184 GB, free: 10.05 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4284, allocations: 0 / 0.5184 GB, free: 10.05 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.4284, allocations: 44.41 kB / 0.5185 GB, free: 10.05 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.4288, allocations: 57.28 kB / 0.5185 GB, free: 10.05 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.4297, allocations: 0.5923 MB / 0.5191 GB, free: 9.719 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.4299, allocations: 0.7524 MB / 0.5198 GB, free: 9.02 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0001303/0.4301, allocations: 39.56 kB / 0.5199 GB, free: 9.008 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.4301, allocations: 26.84 kB / 0.5199 GB, free: 9 MB / 382.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.4301, allocations: 0 / 0.5199 GB, free: 9 MB / 382.1 MB
Notification: Performance of Templates: time 0.007388/0.4375, allocations: 2.927 MB / 0.5228 GB, free: 8.805 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.makefile [Timeout 660]
(rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002  -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.327798197045922]
Failed to read output from testmodel.py, exit status != 0:
0.44963379483669996 0.458502301 0.035660643
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4364de97b0>