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.001401/0.001401, allocations: 110.2 kB / 19.69 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.001484/0.001484, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.1088/0.1088, allocations: 24.12 MB / 337.3 MB, free: 11.45 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.002749/0.002749, allocations: 67.89 kB / 474.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3412, allocations: 59.59 MB / 0.5216 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.004805/0.346, allocations: 4.063 MB / 0.5256 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.3481, allocations: 1.318 MB / 0.5269 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.3483, allocations: 8.156 kB / 0.5269 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.3485, allocations: 79 kB / 0.527 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.3489, allocations: 224.6 kB / 0.5272 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.3495, allocations: 290.2 kB / 0.5275 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000995/0.3505, allocations: 1.095 MB / 0.5285 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005404/0.351, allocations: 385.3 kB / 0.5289 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004316/0.3515, allocations: 408.6 kB / 0.5293 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000509/0.352, allocations: 423.6 kB / 0.5297 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3521, allocations: 93.84 kB / 0.5298 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.3523, allocations: 94.28 kB / 0.5299 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.3524, allocations: 196.8 kB / 0.5301 GB, free: 5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.3528, allocations: 423.4 kB / 0.5305 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.3539, allocations: 0.963 MB / 0.5314 GB, free: 4.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3539, allocations: 1.875 kB / 0.5314 GB, free: 4.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3539, allocations: 0 / 0.5314 GB, free: 4.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.3539, allocations: 0 / 0.5314 GB, free: 4.375 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.002144/0.3561, allocations: 0.9246 MB / 0.5323 GB, free: 3.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3561, allocations: 13.91 kB / 0.5323 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.3562, allocations: 77.7 kB / 0.5324 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.3564, allocations: 192.3 kB / 0.5326 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.3565, allocations: 63.12 kB / 0.5326 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.3566, allocations: 81.53 kB / 0.5327 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.3579, allocations: 0.6896 MB / 0.5334 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3579, allocations: 3.938 kB / 0.5334 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.952e-05/0.358, allocations: 35.5 kB / 0.5334 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.358, allocations: 19.59 kB / 0.5335 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.3593, allocations: 0.6985 MB / 0.5341 GB, free: 2.953 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.003702/0.363, allocations: 2.25 MB / 0.5363 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.3641, allocations: 0.6319 MB / 0.537 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.3646, allocations: 299 kB / 0.5372 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.426e-05/0.3647, allocations: 19.95 kB / 0.5373 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3647, allocations: 40.81 kB / 0.5373 GB, free: 1.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 2.665e-06/0.3647, allocations: 4 kB / 0.5373 GB, free: 1.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.007846/0.3725, allocations: 2.802 MB / 0.54 GB, free: 15.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.3726, allocations: 67.55 kB / 0.5401 GB, free: 15.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.3729, allocations: 204.2 kB / 0.5403 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/0.373, allocations: 41.11 kB / 0.5403 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.3731, allocations: 240 kB / 0.5406 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.3735, allocations: 394.2 kB / 0.5409 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.3738, allocations: 153.9 kB / 0.5411 GB, free: 14.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.374, allocations: 369 kB / 0.5414 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.3746, allocations: 294.4 kB / 0.5417 GB, free: 14.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/0.3753, allocations: 384.6 kB / 0.5421 GB, free: 14.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/0.3866, allocations: 2.254 MB / 0.5443 GB, free: 13.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3866, allocations: 1.25 kB / 0.5443 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002533/0.3891, allocations: 1.044 MB / 0.5453 GB, free: 12.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3892, allocations: 8.969 kB / 0.5453 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3892, allocations: 1 kB / 0.5453 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.3903, allocations: 217.4 kB / 0.5455 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006093/0.3964, allocations: 0.7569 MB / 0.5463 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.4103, allocations: 13.91 MB / 0.5599 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008464/0.4112, allocations: 29.86 kB / 0.5599 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/0.4113, allocations: 29.75 kB / 0.5599 GB, free: 14.46 MB / 414.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.0005591/0.4118, allocations: 219.6 kB / 0.5601 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4119, allocations: 55.3 kB / 0.5602 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/0.4149, allocations: 1.252 MB / 0.5614 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.4149, allocations: 11.88 kB / 0.5614 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4149, allocations: 2.188 kB / 0.5614 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.4149, allocations: 7.969 kB / 0.5614 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004613/0.4196, allocations: 2.35 MB / 0.5637 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.4196, allocations: 6.938 kB / 0.5637 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005296/0.4249, allocations: 0.7 MB / 0.5644 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.4269, allocations: 364.1 kB / 0.5647 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.427, allocations: 28.78 kB / 0.5648 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/0.4407, allocations: 14.09 MB / 0.5785 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.4407, allocations: 12.56 kB / 0.5785 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003817/0.4445, allocations: 1.821 MB / 0.5803 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.4447, allocations: 57.31 kB / 0.5804 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.4448, allocations: 33.06 kB / 0.5804 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.4454, allocations: 34.67 kB / 0.5804 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.4457, allocations: 121.5 kB / 0.5806 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.115e-05/0.4457, allocations: 41.11 kB / 0.5806 GB, free: 11.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.4459, allocations: 158.1 kB / 0.5807 GB, free: 11.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4459, allocations: 4 kB / 0.5807 GB, free: 11.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001052/0.4469, allocations: 237.4 kB / 0.581 GB, free: 11.59 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.0001997/0.4471, allocations: 140.8 kB / 0.5811 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007252/0.4544, allocations: 1.827 MB / 0.5829 GB, free: 9.566 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4544, allocations: 0 / 0.5829 GB, free: 9.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005796/0.4602, allocations: 1.462 MB / 0.5843 GB, free: 8.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.4613, allocations: 174.3 kB / 0.5845 GB, free: 7.883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.4645, allocations: 1.801 MB / 0.5862 GB, free: 5.957 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.4651, allocations: 0.9091 MB / 0.5871 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.4654, allocations: 59.38 kB / 0.5872 GB, free: 4.957 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4654, allocations: 0 / 0.5872 GB, free: 4.957 MB / 430.1 MB Notification: Performance of Templates: time 0.0379/0.5033, allocations: 33.17 MB / 0.6196 GB, free: 3.719 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.67610620893538] Failed to read output from testmodel.py, exit status != 0: 0.5141087339725345 0.5284543509999999 0.17042931399999994 Calling exit ...