Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.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.001642/0.001642, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00213/0.00213, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.1073/0.1073, allocations: 24.13 MB / 337.3 MB, free: 11.5 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: translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002") translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002") [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.002304/0.002304, allocations: 71.91 kB / 474.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3184, allocations: 59.6 MB / 0.5216 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.004259/0.3226, allocations: 4.285 MB / 0.5258 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.3252, allocations: 1.371 MB / 0.5272 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.3256, allocations: 8.375 kB / 0.5272 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.3258, allocations: 86.89 kB / 0.5273 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004778/0.3263, allocations: 237.6 kB / 0.5275 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.3269, allocations: 303.8 kB / 0.5278 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.328, allocations: 1.165 MB / 0.5289 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000661/0.3287, allocations: 0.5015 MB / 0.5294 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005361/0.3292, allocations: 485.4 kB / 0.5299 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006875/0.3299, allocations: 0.5187 MB / 0.5304 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.3301, allocations: 110.5 kB / 0.5305 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.3303, allocations: 111.3 kB / 0.5306 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.3305, allocations: 236 kB / 0.5308 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.3309, allocations: 476.7 kB / 0.5313 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.332, allocations: 1.129 MB / 0.5324 GB, free: 3.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.332, allocations: 4 kB / 0.5324 GB, free: 3.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.332, allocations: 1.031 kB / 0.5324 GB, free: 3.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.332, allocations: 0 / 0.5324 GB, free: 3.859 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002415/0.3344, allocations: 0.9946 MB / 0.5333 GB, free: 3.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.3345, allocations: 13.3 kB / 0.5334 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.3347, allocations: 80.09 kB / 0.5334 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.3349, allocations: 188 kB / 0.5336 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.335, allocations: 69.72 kB / 0.5337 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.3351, allocations: 92.39 kB / 0.5338 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.3366, allocations: 0.8217 MB / 0.5346 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.3366, allocations: 3.938 kB / 0.5346 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/0.3367, allocations: 35.75 kB / 0.5346 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.3367, allocations: 21.34 kB / 0.5346 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.3382, allocations: 0.845 MB / 0.5355 GB, free: 2.305 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 291.15) for variable: V.T Warning: Alias set with conflicting start values * Candidate: U1.T(start = U1.Tstart = 293.15, confidence number = 2) * Candidate: U1.air.T(start = 288.15, confidence number = 8) => Select value from U1.T(start = U1.Tstart = 293.15) for variable: U1.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.3425, allocations: 2.557 MB / 0.5379 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.3446, allocations: 0.9407 MB / 0.5389 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/0.3452, allocations: 385.2 kB / 0.5392 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/0.3453, allocations: 23.66 kB / 0.5393 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3453, allocations: 45.64 kB / 0.5393 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007488/0.346, allocations: 170 kB / 0.5395 GB, free: 88 kB / 382.1 MB Notification: Performance of pre-optimization done (n=113): time 3.075e-06/0.346, allocations: 0 / 0.5395 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=124): time 0.008999/0.355, allocations: 3.245 MB / 0.5426 GB, free: 14.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.3551, allocations: 64.78 kB / 0.5427 GB, free: 14.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.3554, allocations: 214.3 kB / 0.5429 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-05/0.3555, allocations: 45.83 kB / 0.5429 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.3557, allocations: 247 kB / 0.5432 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/0.3561, allocations: 442.2 kB / 0.5436 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/0.3564, allocations: 178.4 kB / 0.5438 GB, free: 13.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3566, allocations: 361.8 kB / 0.5441 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006403/0.3572, allocations: 361.9 kB / 0.5445 GB, free: 13.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/0.358, allocations: 462.7 kB / 0.5449 GB, free: 12.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0194/0.3774, allocations: 3.475 MB / 0.5483 GB, free: 11.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3774, allocations: 5.094 kB / 0.5483 GB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002784/0.3802, allocations: 1.205 MB / 0.5495 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3802, allocations: 5.625 kB / 0.5495 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.3802, allocations: 1.344 kB / 0.5495 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.3813, allocations: 217 kB / 0.5497 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006238/0.3875, allocations: 0.8118 MB / 0.5505 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/0.4004, allocations: 13.91 MB / 0.5641 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009704/0.4013, allocations: 29.89 kB / 0.5641 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/0.4014, allocations: 37.02 kB / 0.5641 GB, free: 12.03 MB / 414.1 MB Warning: Assuming fixed start value for the following 4 variables: U1.T:VARIABLE(min = 0.0 start = U1.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"controlled T\" type: Real U1.phi:VARIABLE(start = U1.phistart fixed = true ) type: Real V.p:VARIABLE(min = 0.0 start = V.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 0.0 start = V.Tstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (AHUon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005773/0.402, allocations: 240 kB / 0.5644 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.4022, allocations: 57.92 kB / 0.5644 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/0.4056, allocations: 1.473 MB / 0.5659 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4056, allocations: 16.38 kB / 0.5659 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4056, allocations: 2.75 kB / 0.5659 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.4056, allocations: 3.984 kB / 0.5659 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004793/0.4104, allocations: 2.556 MB / 0.5684 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/0.4104, allocations: 15.05 kB / 0.5684 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005755/0.4162, allocations: 0.7626 MB / 0.5691 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002054/0.4182, allocations: 365 kB / 0.5695 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/0.4184, allocations: 33.64 kB / 0.5695 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/0.4321, allocations: 14.16 MB / 0.5833 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.4321, allocations: 8 kB / 0.5834 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/0.4363, allocations: 2.056 MB / 0.5854 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.4365, allocations: 75.55 kB / 0.5854 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.4366, allocations: 28 kB / 0.5855 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007102/0.4373, allocations: 39.98 kB / 0.5855 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.4376, allocations: 124.6 kB / 0.5856 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/0.4377, allocations: 43.98 kB / 0.5857 GB, free: 6.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.4379, allocations: 165.1 kB / 0.5858 GB, free: 6.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4379, allocations: 0 / 0.5858 GB, free: 6.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001177/0.4391, allocations: 260 kB / 0.5861 GB, free: 6.477 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 (U1.T,U1.phi,V.Ma,V.p,V.T) * 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 (119): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002412/0.4393, allocations: 143.1 kB / 0.5862 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007632/0.4469, allocations: 1.959 MB / 0.5881 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.4469, allocations: 4.062 kB / 0.5881 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006366/0.4533, allocations: 1.571 MB / 0.5896 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.4546, allocations: 203.8 kB / 0.5898 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.4581, allocations: 1.931 MB / 0.5917 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/0.4587, allocations: 0.9338 MB / 0.5926 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.4591, allocations: 71.41 kB / 0.5927 GB, free: 15.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4591, allocations: 4 kB / 0.5927 GB, free: 15.41 MB / 446.1 MB Notification: Performance of Templates: time 0.04051/0.4996, allocations: 36.73 MB / 0.6286 GB, free: 10.62 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.57667978014797] Failed to read output from testmodel.py, exit status != 0: 0.5097561099100858 0.523282942 0.188117852 Calling exit ...