Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.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.001968/0.001968, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.002433/0.002433, allocations: 215.2 kB / 23.76 MB, free: 4.52 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1368/0.1368, allocations: 24.03 MB / 338 MB, free: 11.34 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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001") translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001") [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.002201/0.002201, allocations: 67.89 kB / 475.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3435, allocations: 59.58 MB / 0.5221 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.004094/0.3476, allocations: 3.608 MB / 0.5257 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.3496, allocations: 1.264 MB / 0.5269 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.3497, allocations: 3.656 kB / 0.5269 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.3499, allocations: 79.67 kB / 0.527 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.3503, allocations: 216.4 kB / 0.5272 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.3508, allocations: 291.9 kB / 0.5275 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008514/0.3517, allocations: 1.091 MB / 0.5285 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.3521, allocations: 381.4 kB / 0.5289 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.3526, allocations: 413.3 kB / 0.5293 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004853/0.3531, allocations: 375.5 kB / 0.5296 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.3532, allocations: 94.41 kB / 0.5297 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.3534, allocations: 93.88 kB / 0.5298 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.3535, allocations: 197 kB / 0.53 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.3538, allocations: 362.4 kB / 0.5304 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009021/0.3547, allocations: 0.971 MB / 0.5313 GB, free: 5.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3547, allocations: 0.5625 kB / 0.5313 GB, free: 5.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3547, allocations: 5.344 kB / 0.5313 GB, free: 5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.3548, allocations: 0 / 0.5313 GB, free: 5 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001935/0.3567, allocations: 0.9205 MB / 0.5322 GB, free: 4.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3567, allocations: 9.906 kB / 0.5322 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.3569, allocations: 77.06 kB / 0.5323 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.357, allocations: 197.8 kB / 0.5325 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.3571, allocations: 59 kB / 0.5325 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.3572, allocations: 82.56 kB / 0.5326 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.3584, allocations: 0.7227 MB / 0.5333 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.3584, allocations: 3.984 kB / 0.5333 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.3585, allocations: 31.22 kB / 0.5334 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.3585, allocations: 24.09 kB / 0.5334 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.3597, allocations: 0.6869 MB / 0.534 GB, free: 3.547 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: AHU.T(start = AHU.Tstart = 293.15, confidence number = 2) * Candidate: AHU.air.T(start = 288.15, confidence number = 8) => Select value from AHU.T(start = AHU.Tstart = 293.15) for variable: AHU.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/0.3628, allocations: 1.564 MB / 0.5356 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.3639, allocations: 0.6345 MB / 0.5362 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/0.3644, allocations: 306 kB / 0.5365 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.307e-05/0.3645, allocations: 12 kB / 0.5365 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.3645, allocations: 44.75 kB / 0.5365 GB, free: 2.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 2.604e-06/0.3645, allocations: 3.938 kB / 0.5365 GB, free: 2.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.007612/0.3721, allocations: 2.802 MB / 0.5393 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.3721, allocations: 66.34 kB / 0.5393 GB, free: 0.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3723, allocations: 160.8 kB / 0.5395 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/0.3723, allocations: 41.14 kB / 0.5395 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3724, allocations: 246.9 kB / 0.5398 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.3727, allocations: 403 kB / 0.5402 GB, free: 232 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.3729, allocations: 145.3 kB / 0.5403 GB, free: 156 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3731, allocations: 362.6 kB / 0.5406 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.3736, allocations: 300.5 kB / 0.5409 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.3743, allocations: 385 kB / 0.5413 GB, free: 15.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/0.3855, allocations: 2.245 MB / 0.5435 GB, free: 14.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3855, allocations: 5.375 kB / 0.5435 GB, free: 14.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002428/0.3879, allocations: 1.044 MB / 0.5445 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3879, allocations: 6.25 kB / 0.5445 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3879, allocations: 1.562 kB / 0.5445 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.389, allocations: 204.3 kB / 0.5447 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005627/0.3946, allocations: 0.7578 MB / 0.5455 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.4072, allocations: 13.67 MB / 0.5588 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/0.408, allocations: 34.33 kB / 0.5588 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.408, allocations: 29.22 kB / 0.5589 GB, free: 228 kB / 398.1 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = 0.0 start = AHU.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"controlled T\" type: Real AHU.phi:VARIABLE(start = AHU.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 (112): * Single equations (assignments): 102 * 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,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004934/0.4085, allocations: 225.5 kB / 0.5591 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4086, allocations: 46.34 kB / 0.5591 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.4115, allocations: 1.243 MB / 0.5603 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.4115, allocations: 15.03 kB / 0.5603 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4115, allocations: 2.188 kB / 0.5603 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.4115, allocations: 4.984 kB / 0.5604 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/0.4158, allocations: 2.117 MB / 0.5624 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.4158, allocations: 7.312 kB / 0.5624 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005174/0.421, allocations: 0.7014 MB / 0.5631 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/0.4229, allocations: 359.5 kB / 0.5635 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.4231, allocations: 37.23 kB / 0.5635 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.4358, allocations: 13.84 MB / 0.577 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/0.4358, allocations: 13.03 kB / 0.577 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003898/0.4397, allocations: 1.819 MB / 0.5788 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.4399, allocations: 53.34 kB / 0.5788 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.44, allocations: 29.09 kB / 0.5789 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/0.4407, allocations: 35.27 kB / 0.5789 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/0.441, allocations: 116.2 kB / 0.579 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.482e-05/0.441, allocations: 37.34 kB / 0.5791 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.4412, allocations: 126.9 kB / 0.5792 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4412, allocations: 0.9062 kB / 0.5792 GB, free: 14.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001208/0.4424, allocations: 234 kB / 0.5794 GB, free: 13.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 5 (AHU.T,AHU.phi,V.Mv,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 (102): * Single equations (assignments): 92 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000232/0.4426, allocations: 150.9 kB / 0.5795 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009693/0.4523, allocations: 1.807 MB / 0.5813 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/0.4523, allocations: 4 kB / 0.5813 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008645/0.461, allocations: 1.474 MB / 0.5827 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.4627, allocations: 157.2 kB / 0.5829 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/0.4676, allocations: 1.813 MB / 0.5847 GB, free: 8.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.4681, allocations: 311.2 kB / 0.585 GB, free: 8.023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.4686, allocations: 55.44 kB / 0.585 GB, free: 7.969 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4686, allocations: 0 / 0.585 GB, free: 7.969 MB / 430.1 MB Notification: Performance of Templates: time 0.05142/0.52, allocations: 33.12 MB / 0.6174 GB, free: 6.77 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.736164502799511] Failed to read output from testmodel.py, exit status != 0: 0.5303627080284059 0.553911086 0.19462452800000002 Calling exit ...