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.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.001731/0.001731, allocations: 100.3 kB / 19.72 MB, free: 1.785 MB / 14.72 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.001492/0.001492, allocations: 208.9 kB / 23.01 MB, free: 4.621 MB / 14.72 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 1.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1142/0.1142, allocations: 24.02 MB / 337.2 MB, free: 11.36 MB / 270.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.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: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.89 kB / 473.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3448, allocations: 59.58 MB / 0.5209 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002663/0.3475, allocations: 1.877 MB / 0.5227 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000547/0.348, allocations: 234.3 kB / 0.523 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.3481, allocations: 1.219 kB / 0.523 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.3483, allocations: 21.92 kB / 0.523 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.3487, allocations: 118.5 kB / 0.5231 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.3488, allocations: 59.02 kB / 0.5232 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.3491, allocations: 267.9 kB / 0.5234 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3492, allocations: 44.44 kB / 0.5235 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3493, allocations: 96.77 kB / 0.5235 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.3495, allocations: 121.1 kB / 0.5237 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.3496, allocations: 21.02 kB / 0.5237 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.3497, allocations: 79.31 kB / 0.5238 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3498, allocations: 79.08 kB / 0.5238 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.35, allocations: 91.3 kB / 0.5239 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.3503, allocations: 272.5 kB / 0.5242 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3503, allocations: 4 kB / 0.5242 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3503, allocations: 3.656 kB / 0.5242 GB, free: 7.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3503, allocations: 0 / 0.5242 GB, free: 7.988 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.0009247/0.3512, allocations: 494.9 kB / 0.5247 GB, free: 7.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3513, allocations: 9.734 kB / 0.5247 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.3513, allocations: 40.88 kB / 0.5247 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.3513, allocations: 21.42 kB / 0.5247 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.3516, allocations: 260.4 kB / 0.525 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3517, allocations: 10.02 kB / 0.525 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.3517, allocations: 11.78 kB / 0.525 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.3519, allocations: 148.8 kB / 0.5251 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3519, allocations: 7.938 kB / 0.5251 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.352, allocations: 5.188 kB / 0.5252 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.352, allocations: 2.438 kB / 0.5252 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.3521, allocations: 98.59 kB / 0.5252 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.353, allocations: 0.4997 MB / 0.5257 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007769/0.3538, allocations: 261.3 kB / 0.526 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3539, allocations: 84.59 kB / 0.5261 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.354, allocations: 1.094 kB / 0.5261 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.354, allocations: 33.33 kB / 0.5261 GB, free: 6.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.354, allocations: 0 / 0.5261 GB, free: 6.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009451/0.3549, allocations: 353.2 kB / 0.5264 GB, free: 6.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.3549, allocations: 54.14 kB / 0.5265 GB, free: 6.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.3553, allocations: 315.8 kB / 0.5268 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3553, allocations: 26.73 kB / 0.5268 GB, free: 6.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.3554, allocations: 125.4 kB / 0.5269 GB, free: 6.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.3554, allocations: 55.83 kB / 0.527 GB, free: 6.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.3555, allocations: 37.41 kB / 0.527 GB, free: 6.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.3556, allocations: 331.3 kB / 0.5273 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3557, allocations: 68.17 kB / 0.5274 GB, free: 5.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3558, allocations: 93.58 kB / 0.5275 GB, free: 5.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.3572, allocations: 475.2 kB / 0.5279 GB, free: 5.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3572, allocations: 3.938 kB / 0.5279 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005266/0.3578, allocations: 306.2 kB / 0.5282 GB, free: 5.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3578, allocations: 5.281 kB / 0.5282 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3578, allocations: 1.062 kB / 0.5282 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.358, allocations: 56 kB / 0.5283 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.3583, allocations: 54.41 kB / 0.5284 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.3598, allocations: 2.603 MB / 0.5309 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.36, allocations: 21.98 kB / 0.5309 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.36, allocations: 4.438 kB / 0.5309 GB, free: 2.859 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.0001954/0.3602, allocations: 173.8 kB / 0.5311 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.3602, allocations: 16.56 kB / 0.5311 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.3603, allocations: 38.44 kB / 0.5311 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3603, allocations: 1.062 kB / 0.5311 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3603, allocations: 0.875 kB / 0.5311 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3603, allocations: 1.062 kB / 0.5311 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.3606, allocations: 237.5 kB / 0.5314 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3606, allocations: 0 / 0.5314 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.3609, allocations: 51 kB / 0.5314 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/0.3611, allocations: 55.61 kB / 0.5315 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.3611, allocations: 7.734 kB / 0.5315 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.3625, allocations: 2.599 MB / 0.534 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3625, allocations: 0 / 0.534 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007382/0.3632, allocations: 421.8 kB / 0.5344 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.3633, allocations: 27.58 kB / 0.5344 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.3633, allocations: 3.969 kB / 0.5344 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.3635, allocations: 11.31 kB / 0.5345 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.3636, allocations: 14.12 kB / 0.5345 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3636, allocations: 7.641 kB / 0.5345 GB, free: 15.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002828/0.3639, allocations: 247.3 kB / 0.5347 GB, free: 15.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3639, allocations: 1.781 kB / 0.5347 GB, free: 15.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.3643, allocations: 70.03 kB / 0.5348 GB, free: 15.46 MB / 398.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.001199/0.3655, allocations: 0.9583 MB / 0.5357 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008015/0.3663, allocations: 423.5 kB / 0.5361 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.3663, allocations: 4.5 kB / 0.5361 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.3668, allocations: 314.5 kB / 0.5364 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.3672, allocations: 67.66 kB / 0.5365 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.3719, allocations: 3.113 MB / 0.5395 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.3721, allocations: 132.7 kB / 0.5397 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.3723, allocations: 48.27 kB / 0.5397 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3724, allocations: 54.92 kB / 0.5398 GB, free: 11.92 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3724, allocations: 0 / 0.5398 GB, free: 11.92 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03938/0.4118, allocations: 7.297 MB / 0.5469 GB, free: 9.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.24, allocations: 3.906 kB / 0.5469 GB, free: 9.492 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_Containment_elements_fmu --startTime=0 --stopTime=100000 --stepSize=10 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_Containment_elements.fmu > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.080288426950574] Failed to read output from testmodel.py, exit status != 0: 12.373950491193682 12.391064198 12.037412637 Calling exit ...