Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Containment_elements.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.001859/0.001859, 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.002418/0.002418, allocations: 191.7 kB / 22.23 MB, free: 5.133 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.517/1.517, allocations: 225.6 MB / 251 MB, free: 13.05 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.1004/0.1004, allocations: 22.7 MB / 329 MB, free: 2.371 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.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements")
translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00306/0.00306, allocations: 67.91 kB / 463.1 MB, free: 14.62 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1521, allocations: 58.06 MB / 0.5089 GB, free: 4.461 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003241/0.1553, allocations: 1.951 MB / 0.5108 GB, free: 2.492 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0006022/0.1559, allocations: 243.2 kB / 0.5111 GB, free: 2.254 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.156, allocations: 4 kB / 0.5111 GB, free: 2.25 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.1562, allocations: 27.78 kB / 0.5111 GB, free: 2.223 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000448/0.1566, allocations: 111.4 kB / 0.5112 GB, free: 2.113 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.1567, allocations: 51.92 kB / 0.5113 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003431/0.1571, allocations: 271.1 kB / 0.5115 GB, free: 1.797 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.1572, allocations: 47.81 kB / 0.5116 GB, free: 1.75 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1574, allocations: 99.75 kB / 0.5117 GB, free: 1.652 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.1576, allocations: 131.5 kB / 0.5118 GB, free: 1.523 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.1577, allocations: 16 kB / 0.5118 GB, free: 1.508 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.1579, allocations: 79.91 kB / 0.5119 GB, free: 1.43 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.158, allocations: 75.78 kB / 0.512 GB, free: 1.355 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.1582, allocations: 111.5 kB / 0.5121 GB, free: 1.246 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.1586, allocations: 267 kB / 0.5123 GB, free: 0.9844 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1586, allocations: 0 / 0.5123 GB, free: 0.9844 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.914e-06/0.1586, allocations: 4 kB / 0.5123 GB, free: 0.9805 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 1.108e-05/0.1587, allocations: 0 / 0.5123 GB, free: 0.9805 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: 24
 * Number of variables: 24
Notification: Performance of Generate backend data structure: time 0.001371/0.16, allocations: 493.2 kB / 0.5128 GB, free: 476 kB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1601, allocations: 8.031 kB / 0.5128 GB, free: 468 kB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.1602, allocations: 28.8 kB / 0.5128 GB, free: 440 kB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.1606, allocations: 269.9 kB / 0.5131 GB, free: 144 kB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1606, allocations: 4.375 kB / 0.5131 GB, free: 140 kB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.1606, allocations: 12.38 kB / 0.5131 GB, free: 128 kB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.255/0.4157, allocations: 142.2 kB / 0.5132 GB, free: 15.18 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.4157, allocations: 3 kB / 0.5132 GB, free: 15.18 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.398e-05/0.4157, allocations: 5.125 kB / 0.5132 GB, free: 15.18 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.4158, allocations: 2.062 kB / 0.5132 GB, free: 15.18 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.416, allocations: 101.2 kB / 0.5133 GB, free: 15.18 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.4171, allocations: 0.6251 MB / 0.5139 GB, free: 14.82 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008647/0.418, allocations: 260.3 kB / 0.5142 GB, free: 14.8 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.4181, allocations: 79.98 kB / 0.5143 GB, free: 14.79 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.4181, allocations: 3.781 kB / 0.5143 GB, free: 14.79 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.4181, allocations: 33.88 kB / 0.5143 GB, free: 14.75 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.4181, allocations: 0.6562 kB / 0.5143 GB, free: 14.75 MB / 382.1 MB
Notification: Performance of matching and sorting (n=14): time 0.001065/0.4192, allocations: 353.9 kB / 0.5146 GB, free: 14.7 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.4192, allocations: 52.78 kB / 0.5147 GB, free: 14.63 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.4196, allocations: 318.5 kB / 0.515 GB, free: 14.52 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.4196, allocations: 29.92 kB / 0.515 GB, free: 14.49 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.4197, allocations: 122.4 kB / 0.5151 GB, free: 14.4 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.4197, allocations: 56.88 kB / 0.5152 GB, free: 14.37 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.4198, allocations: 38.94 kB / 0.5152 GB, free: 14.36 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 5.631e-05/0.4198, allocations: 330.3 kB / 0.5156 GB, free: 14.04 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.4199, allocations: 77.03 kB / 0.5156 GB, free: 14.04 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.4201, allocations: 94.64 kB / 0.5157 GB, free: 14.02 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.4216, allocations: 468.3 kB / 0.5162 GB, free: 14 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4216, allocations: 0 / 0.5162 GB, free: 14 MB / 382.1 MB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005261/0.4221, allocations: 312 kB / 0.5165 GB, free: 13.94 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4222, allocations: 9.094 kB / 0.5165 GB, free: 13.94 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4222, allocations: 3.656 kB / 0.5165 GB, free: 13.94 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002419/0.4224, allocations: 48.86 kB / 0.5165 GB, free: 13.92 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.4226, allocations: 58.22 kB / 0.5166 GB, free: 13.92 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.4245, allocations: 2.607 MB / 0.5191 GB, free: 11.5 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.4247, allocations: 19.28 kB / 0.5191 GB, free: 11.49 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.4247, allocations: 5.359 kB / 0.5191 GB, free: 11.49 MB / 382.1 MB
Warning: Assuming fixed start value for the following 7 variables:
         homogeneous.T[1]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 )  type: Real [4]
         homogeneous.T[2]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 )  type: Real [4]
         homogeneous.T[3]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 )  type: Real [4]
         homogeneous.T[4]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 )  type: Real [4]
         nonhomogeneous.T[1]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 )  type: Real [3]
         nonhomogeneous.T[2]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 )  type: Real [3]
         nonhomogeneous.T[3]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 )  type: Real [3]
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 (20):
 * 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: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002908/0.425, allocations: 170.1 kB / 0.5193 GB, free: 11.38 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.425, allocations: 25 kB / 0.5193 GB, free: 11.36 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.967e-05/0.4251, allocations: 34.14 kB / 0.5194 GB, free: 11.35 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4251, allocations: 2.938 kB / 0.5194 GB, free: 11.35 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4251, allocations: 352 / 0.5194 GB, free: 11.35 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4251, allocations: 6.781 kB / 0.5194 GB, free: 11.35 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.4255, allocations: 257 kB / 0.5196 GB, free: 11.19 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.4255, allocations: 3.938 kB / 0.5196 GB, free: 11.19 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.4258, allocations: 55.64 kB / 0.5197 GB, free: 11.19 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/0.426, allocations: 44.55 kB / 0.5197 GB, free: 11.17 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.426, allocations: 12.23 kB / 0.5197 GB, free: 11.17 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.428, allocations: 2.608 MB / 0.5223 GB, free: 8.727 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.428, allocations: 0 / 0.5223 GB, free: 8.727 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009096/0.4289, allocations: 418.2 kB / 0.5227 GB, free: 8.562 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.4289, allocations: 33.25 kB / 0.5227 GB, free: 8.551 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.429, allocations: 6.156 kB / 0.5227 GB, free: 8.551 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.4292, allocations: 14.56 kB / 0.5227 GB, free: 8.547 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.4293, allocations: 11.7 kB / 0.5227 GB, free: 8.543 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.4293, allocations: 6.25 kB / 0.5227 GB, free: 8.543 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0003707/0.4296, allocations: 239.9 kB / 0.523 GB, free: 8.438 MB / 382.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4296, allocations: 1.531 kB / 0.523 GB, free: 8.438 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0005556/0.4302, allocations: 66.66 kB / 0.523 GB, free: 8.434 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 7 (homogeneous.T[1],homogeneous.T[2],homogeneous.T[3],homogeneous.T[4],nonhomogeneous.T[1],nonhomogeneous.T[2],nonhomogeneous.T[3])
 * 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 (12):
 * Single equations (assignments): 10
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002916/0.4305, allocations: 122.2 kB / 0.5232 GB, free: 8.332 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007975/0.4313, allocations: 413 kB / 0.5235 GB, free: 8.059 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.4313, allocations: 0 / 0.5235 GB, free: 8.059 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.4317, allocations: 320.6 kB / 0.5239 GB, free: 7.801 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.4322, allocations: 63.16 kB / 0.5239 GB, free: 7.781 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.4338, allocations: 0.8432 MB / 0.5247 GB, free: 7.25 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4341, allocations: 0.7411 MB / 0.5255 GB, free: 6.551 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0001661/0.4342, allocations: 44.83 kB / 0.5255 GB, free: 6.547 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.4343, allocations: 18.3 kB / 0.5255 GB, free: 6.543 MB / 382.1 MB
Notification: Performance of SimCode: time 7.91e-07/0.4343, allocations: 0 / 0.5255 GB, free: 6.543 MB / 382.1 MB
Notification: Performance of Templates: time 0.01316/0.4475, allocations: 4.149 MB / 0.5296 GB, free: 6.293 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.makefile [Timeout 660]
(rm -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Containment_elements.sim & ./AES_AES.Coursework.ThermSys_component_models.Containment_elements  -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.298662434332073]
Failed to read output from testmodel.py, exit status != 0:
0.45903552882373333 0.47016804799999995 0.30840880099999995
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f04b01597b0>