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.001407/0.001407, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001628/0.001628, allocations: 220.8 kB / 23.77 MB, free: 4.422 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1149/0.1149, allocations: 24.03 MB / 338 MB, free: 11.35 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.002425/0.002425, allocations: 63.91 kB / 475.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3366, allocations: 59.57 MB / 0.5221 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.004423/0.341, allocations: 3.795 MB / 0.5258 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.3431, allocations: 1.303 MB / 0.5271 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.3433, allocations: 3.656 kB / 0.5271 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.3435, allocations: 85.75 kB / 0.5272 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.3439, allocations: 242.8 kB / 0.5274 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.3445, allocations: 308.7 kB / 0.5277 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000873/0.3453, allocations: 1.163 MB / 0.5289 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005761/0.3459, allocations: 0.4958 MB / 0.5293 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.3464, allocations: 481.6 kB / 0.5298 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006767/0.3471, allocations: 479.3 kB / 0.5303 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.3473, allocations: 111.2 kB / 0.5304 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.3475, allocations: 110.8 kB / 0.5305 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.3476, allocations: 235.5 kB / 0.5307 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.348, allocations: 417.6 kB / 0.5311 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.3491, allocations: 1.125 MB / 0.5322 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3491, allocations: 0 / 0.5322 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3491, allocations: 1.062 kB / 0.5322 GB, free: 4.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.3492, allocations: 0 / 0.5322 GB, free: 4.465 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.002228/0.3514, allocations: 0.9949 MB / 0.5332 GB, free: 3.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3514, allocations: 14.11 kB / 0.5332 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.3516, allocations: 81.31 kB / 0.5333 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.3518, allocations: 199.5 kB / 0.5334 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.3519, allocations: 70.62 kB / 0.5335 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.3521, allocations: 83.91 kB / 0.5336 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.3536, allocations: 0.8466 MB / 0.5344 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.3537, allocations: 3.984 kB / 0.5344 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.3537, allocations: 35.94 kB / 0.5345 GB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.3538, allocations: 25.25 kB / 0.5345 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.3552, allocations: 0.8446 MB / 0.5353 GB, free: 2.859 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.003912/0.3592, allocations: 1.822 MB / 0.5371 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.3611, allocations: 0.9273 MB / 0.538 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.3617, allocations: 387.6 kB / 0.5384 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-05/0.3618, allocations: 22.84 kB / 0.5384 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3618, allocations: 43.97 kB / 0.5384 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00064/0.3625, allocations: 173.8 kB / 0.5386 GB, free: 1.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=113): time 3.236e-06/0.3625, allocations: 0 / 0.5386 GB, free: 1.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=124): time 0.008071/0.3706, allocations: 3.226 MB / 0.5417 GB, free: 15.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3706, allocations: 65.5 kB / 0.5418 GB, free: 15.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.3708, allocations: 178.8 kB / 0.542 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.469e-05/0.3709, allocations: 46.39 kB / 0.542 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.3711, allocations: 248.5 kB / 0.5423 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003991/0.3715, allocations: 446.2 kB / 0.5427 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/0.3718, allocations: 179 kB / 0.5428 GB, free: 14.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.372, allocations: 357.4 kB / 0.5432 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006651/0.3727, allocations: 356.8 kB / 0.5435 GB, free: 14.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.3734, allocations: 457 kB / 0.544 GB, free: 14.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01842/0.3919, allocations: 3.459 MB / 0.5473 GB, free: 12.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3919, allocations: 1.312 kB / 0.5473 GB, free: 12.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002763/0.3946, allocations: 1.203 MB / 0.5485 GB, free: 11.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3946, allocations: 5.656 kB / 0.5485 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3947, allocations: 1.094 kB / 0.5485 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.3957, allocations: 210.2 kB / 0.5487 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00599/0.4017, allocations: 0.8146 MB / 0.5495 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.4156, allocations: 13.68 MB / 0.5629 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.4168, allocations: 30.39 kB / 0.5629 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/0.4169, allocations: 37.7 kB / 0.5629 GB, free: 13.77 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.0006629/0.4175, allocations: 232.9 kB / 0.5632 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.4177, allocations: 48.72 kB / 0.5632 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.4212, allocations: 1.482 MB / 0.5647 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.4212, allocations: 13.88 kB / 0.5647 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4212, allocations: 1.281 kB / 0.5647 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.4212, allocations: 9.062 kB / 0.5647 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004931/0.4261, allocations: 2.29 MB / 0.5669 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.4261, allocations: 6.5 kB / 0.5669 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005821/0.432, allocations: 0.7593 MB / 0.5677 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/0.4342, allocations: 365.1 kB / 0.568 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/0.4344, allocations: 34.27 kB / 0.568 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.4487, allocations: 13.91 MB / 0.5816 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/0.4487, allocations: 7.938 kB / 0.5816 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004376/0.453, allocations: 2.056 MB / 0.5836 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.4532, allocations: 51.66 kB / 0.5837 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.4533, allocations: 40 kB / 0.5837 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.454, allocations: 31.98 kB / 0.5838 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/0.4543, allocations: 120.7 kB / 0.5839 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-05/0.4544, allocations: 43.98 kB / 0.5839 GB, free: 9.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.4545, allocations: 135.2 kB / 0.5841 GB, free: 9.254 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4545, allocations: 0 / 0.5841 GB, free: 9.254 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001225/0.4558, allocations: 263.9 kB / 0.5843 GB, free: 8.996 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.000232/0.456, allocations: 139.2 kB / 0.5844 GB, free: 8.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007379/0.4634, allocations: 1.963 MB / 0.5864 GB, free: 6.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.4634, allocations: 4 kB / 0.5864 GB, free: 6.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006205/0.4696, allocations: 1.571 MB / 0.5879 GB, free: 5.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.4708, allocations: 172.9 kB / 0.5881 GB, free: 5.035 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.4745, allocations: 1.935 MB / 0.5899 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.4749, allocations: 341.4 kB / 0.5903 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.4752, allocations: 71.42 kB / 0.5903 GB, free: 2.562 MB / 430.1 MB Notification: Performance of SimCode: time 1.382e-06/0.4752, allocations: 0 / 0.5903 GB, free: 2.562 MB / 430.1 MB Notification: Performance of Templates: time 0.043/0.5182, allocations: 36.58 MB / 0.6261 GB, free: 13.9 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.401523491833359] Failed to read output from testmodel.py, exit status != 0: 0.5281139491125941 0.542187411 0.18997739299999994 Calling exit ...