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.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.001505/0.001505, allocations: 100.7 kB / 16.45 MB, free: 6.457 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.001529/0.001529, allocations: 199.8 kB / 19.41 MB, free: 3.645 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.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.09784/0.09784, allocations: 22.69 MB / 325.4 MB, free: 3.539 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.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: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.89 kB / 457.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1376, allocations: 58.02 MB / 0.5036 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.006089/0.1437, allocations: 4.261 MB / 0.5078 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.1466, allocations: 1.337 MB / 0.5091 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003352/0.147, allocations: 4 kB / 0.5091 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.1472, allocations: 87.06 kB / 0.5092 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005566/0.1477, allocations: 237.9 kB / 0.5094 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007123/0.1485, allocations: 303.5 kB / 0.5097 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.253/0.4014, allocations: 1.164 MB / 0.5108 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008658/0.4023, allocations: 0.5053 MB / 0.5113 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006563/0.403, allocations: 466.8 kB / 0.5117 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006914/0.4037, allocations: 0.5195 MB / 0.5123 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.4039, allocations: 113 kB / 0.5124 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.404, allocations: 115.2 kB / 0.5125 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.4042, allocations: 234.7 kB / 0.5127 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.4045, allocations: 483.9 kB / 0.5132 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009769/0.4055, allocations: 1.127 MB / 0.5143 GB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4055, allocations: 1.547 kB / 0.5143 GB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4055, allocations: 0 / 0.5143 GB, free: 10.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.4055, allocations: 1.594 kB / 0.5143 GB, free: 10.62 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.002264/0.4078, allocations: 1.063 MB / 0.5153 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4078, allocations: 9.188 kB / 0.5153 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.408, allocations: 84.39 kB / 0.5154 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.4082, allocations: 255.9 kB / 0.5156 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/0.4083, allocations: 65.61 kB / 0.5157 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.4084, allocations: 89.81 kB / 0.5158 GB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.4101, allocations: 0.8235 MB / 0.5166 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.4101, allocations: 0 / 0.5166 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/0.4102, allocations: 36.84 kB / 0.5166 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.4102, allocations: 22.66 kB / 0.5166 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.4119, allocations: 0.8439 MB / 0.5175 GB, free: 9.703 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.005034/0.4169, allocations: 2.602 MB / 0.52 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.4191, allocations: 0.9406 MB / 0.5209 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006271/0.4198, allocations: 383.9 kB / 0.5213 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.078e-05/0.4199, allocations: 27.05 kB / 0.5213 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.4199, allocations: 48.06 kB / 0.5214 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007294/0.4206, allocations: 166.5 kB / 0.5215 GB, free: 7.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=113): time 3.467e-06/0.4206, allocations: 0 / 0.5215 GB, free: 7.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=124): time 0.008556/0.4292, allocations: 3.535 MB / 0.525 GB, free: 5.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.4292, allocations: 71.53 kB / 0.525 GB, free: 5.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.4295, allocations: 217.5 kB / 0.5252 GB, free: 5.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/0.4295, allocations: 46.3 kB / 0.5253 GB, free: 5.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.4297, allocations: 249.1 kB / 0.5255 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.4299, allocations: 438 kB / 0.5259 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.4302, allocations: 176.5 kB / 0.5261 GB, free: 5.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.4303, allocations: 359.8 kB / 0.5265 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005921/0.4309, allocations: 364.3 kB / 0.5268 GB, free: 4.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.4316, allocations: 452.3 kB / 0.5272 GB, free: 4.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01894/0.4505, allocations: 3.483 MB / 0.5306 GB, free: 3.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.4505, allocations: 5.094 kB / 0.5306 GB, free: 3.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002631/0.4531, allocations: 1.202 MB / 0.5318 GB, free: 3.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.4532, allocations: 5.344 kB / 0.5318 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.4532, allocations: 5.5 kB / 0.5318 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.4542, allocations: 215.7 kB / 0.532 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00579/0.46, allocations: 0.8084 MB / 0.5328 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/0.4728, allocations: 14.95 MB / 0.5474 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009683/0.4737, allocations: 30.72 kB / 0.5474 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.416e-05/0.4738, allocations: 41.09 kB / 0.5475 GB, free: 3.797 MB / 398.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.000644/0.4745, allocations: 237 kB / 0.5477 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.4746, allocations: 54.7 kB / 0.5478 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/0.4781, allocations: 1.479 MB / 0.5492 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.4781, allocations: 12.62 kB / 0.5492 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4781, allocations: 3 kB / 0.5492 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.4781, allocations: 9.031 kB / 0.5492 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005135/0.4833, allocations: 2.579 MB / 0.5518 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.4833, allocations: 7.25 kB / 0.5518 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005434/0.4887, allocations: 0.7601 MB / 0.5525 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/0.4908, allocations: 374.1 kB / 0.5529 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.491, allocations: 32.66 kB / 0.5529 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/0.5075, allocations: 15.19 MB / 0.5677 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.5075, allocations: 9.625 kB / 0.5677 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004446/0.5119, allocations: 2.069 MB / 0.5698 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.5123, allocations: 135.7 kB / 0.5699 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.5124, allocations: 36.7 kB / 0.5699 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007025/0.5131, allocations: 34.89 kB / 0.5699 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000359/0.5135, allocations: 127.1 kB / 0.5701 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.377e-05/0.5136, allocations: 41.08 kB / 0.5701 GB, free: 15.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002513/0.5138, allocations: 161.3 kB / 0.5703 GB, free: 15.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5138, allocations: 4 kB / 0.5703 GB, free: 15.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001306/0.5151, allocations: 258.4 kB / 0.5705 GB, free: 15.42 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.0002798/0.5154, allocations: 145.9 kB / 0.5707 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007843/0.5232, allocations: 1.99 MB / 0.5726 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/0.5233, allocations: 0 / 0.5726 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006358/0.5296, allocations: 1.59 MB / 0.5741 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.531, allocations: 200.8 kB / 0.5743 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.5346, allocations: 1.901 MB / 0.5762 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.5353, allocations: 0.9377 MB / 0.5771 GB, free: 9.359 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007137/0.536, allocations: 113.5 kB / 0.5772 GB, free: 9.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.5363, allocations: 67.41 kB / 0.5773 GB, free: 9.18 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5363, allocations: 0 / 0.5773 GB, free: 9.18 MB / 430.1 MB Notification: Performance of Templates: time 0.0263/0.5626, allocations: 14 MB / 0.591 GB, free: 11.3 MB / 446.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: 5.988452464342117]