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.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.001314/0.001314, allocations: 110 kB / 18.93 MB, free: 2.945 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.001473/0.001473, allocations: 188.9 kB / 22.23 MB, free: 5.16 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.513/1.513, allocations: 225.6 MB / 251 MB, free: 12.99 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.1336/0.1336, allocations: 22.7 MB / 329 MB, free: 2.34 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_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: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.89 kB / 463.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1369, allocations: 58.06 MB / 0.5089 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.005399/0.1423, allocations: 4.055 MB / 0.5129 GB, free: 344 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2776/0.4199, allocations: 1.287 MB / 0.5142 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.4202, allocations: 4.531 kB / 0.5142 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.4204, allocations: 85.23 kB / 0.5142 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.421, allocations: 217.4 kB / 0.5145 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.4218, allocations: 293.6 kB / 0.5147 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.4234, allocations: 1.098 MB / 0.5158 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006057/0.424, allocations: 382.8 kB / 0.5162 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005655/0.4246, allocations: 407.9 kB / 0.5166 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.4251, allocations: 424.6 kB / 0.517 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.4253, allocations: 94.56 kB / 0.5171 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.4254, allocations: 92.03 kB / 0.5171 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.4256, allocations: 191.7 kB / 0.5173 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.426, allocations: 433.5 kB / 0.5177 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.4271, allocations: 0.9612 MB / 0.5187 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4271, allocations: 2.906 kB / 0.5187 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4271, allocations: 0 / 0.5187 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.4271, allocations: 0 / 0.5187 GB, free: 11.12 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.002257/0.4294, allocations: 0.9227 MB / 0.5196 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4294, allocations: 15.19 kB / 0.5196 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.4296, allocations: 76.56 kB / 0.5197 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.4298, allocations: 185.7 kB / 0.5198 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.4299, allocations: 63.41 kB / 0.5199 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.43, allocations: 77.91 kB / 0.52 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.4314, allocations: 0.6943 MB / 0.5207 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.4314, allocations: 0 / 0.5207 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/0.4315, allocations: 35.48 kB / 0.5207 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.4315, allocations: 23.81 kB / 0.5207 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.4329, allocations: 0.695 MB / 0.5214 GB, free: 9.711 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.004065/0.4369, allocations: 2.258 MB / 0.5236 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.4382, allocations: 0.6278 MB / 0.5242 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000579/0.4387, allocations: 302.2 kB / 0.5245 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.98e-05/0.4388, allocations: 17.48 kB / 0.5245 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.4389, allocations: 42.88 kB / 0.5246 GB, free: 7.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 2.846e-06/0.4389, allocations: 1.031 kB / 0.5246 GB, free: 7.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.008012/0.4469, allocations: 2.808 MB / 0.5273 GB, free: 6.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.4469, allocations: 65.39 kB / 0.5274 GB, free: 6.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.4472, allocations: 205.7 kB / 0.5276 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.86e-05/0.4473, allocations: 41.8 kB / 0.5276 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.4475, allocations: 247.5 kB / 0.5278 GB, free: 6.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000367/0.4479, allocations: 394.6 kB / 0.5282 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.4482, allocations: 149.1 kB / 0.5284 GB, free: 5.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4483, allocations: 361.1 kB / 0.5287 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007806/0.4491, allocations: 295.7 kB / 0.529 GB, free: 5.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008482/0.45, allocations: 384.6 kB / 0.5293 GB, free: 5.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/0.4644, allocations: 2.258 MB / 0.5316 GB, free: 4.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.4644, allocations: 1.812 kB / 0.5316 GB, free: 4.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004197/0.4686, allocations: 1.038 MB / 0.5326 GB, free: 3.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.4686, allocations: 5.562 kB / 0.5326 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.4687, allocations: 2.062 kB / 0.5326 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.47, allocations: 210.3 kB / 0.5328 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007444/0.4775, allocations: 0.754 MB / 0.5335 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.4931, allocations: 13.92 MB / 0.5471 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.4942, allocations: 27.28 kB / 0.5471 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002551/0.4944, allocations: 27.91 kB / 0.5472 GB, free: 6.094 MB / 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.0009072/0.4953, allocations: 225.2 kB / 0.5474 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.4956, allocations: 47.34 kB / 0.5474 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/0.4998, allocations: 1.257 MB / 0.5487 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.4999, allocations: 12.83 kB / 0.5487 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/0.4999, allocations: 2.75 kB / 0.5487 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.4999, allocations: 5.766 kB / 0.5487 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006896/0.5068, allocations: 2.355 MB / 0.551 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-05/0.5068, allocations: 11.62 kB / 0.551 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007115/0.5139, allocations: 0.7001 MB / 0.5517 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002742/0.5167, allocations: 359.4 kB / 0.552 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/0.517, allocations: 33.98 kB / 0.552 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/0.5326, allocations: 14.08 MB / 0.5658 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.116e-05/0.5326, allocations: 8 kB / 0.5658 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00471/0.5373, allocations: 1.821 MB / 0.5676 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.5376, allocations: 53.72 kB / 0.5676 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.5377, allocations: 33.3 kB / 0.5677 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/0.5385, allocations: 34.88 kB / 0.5677 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/0.5388, allocations: 120.4 kB / 0.5678 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.671e-05/0.5389, allocations: 40.7 kB / 0.5678 GB, free: 3.875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.5391, allocations: 151.2 kB / 0.568 GB, free: 3.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5391, allocations: 4 kB / 0.568 GB, free: 3.762 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001535/0.5407, allocations: 235.8 kB / 0.5682 GB, free: 3.723 MB / 414.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.0002819/0.5409, allocations: 140.5 kB / 0.5684 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008191/0.5491, allocations: 1.854 MB / 0.5702 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/0.5491, allocations: 1.125 kB / 0.5702 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006367/0.5555, allocations: 1.498 MB / 0.5716 GB, free: 1.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.557, allocations: 177.5 kB / 0.5718 GB, free: 1.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.5609, allocations: 1.759 MB / 0.5735 GB, free: 304 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008187/0.5617, allocations: 0.908 MB / 0.5744 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006323/0.5623, allocations: 94.7 kB / 0.5745 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.5625, allocations: 50.72 kB / 0.5745 GB, free: 15.44 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5625, allocations: 0 / 0.5745 GB, free: 15.44 MB / 430.1 MB Notification: Performance of Templates: time 0.02601/0.5885, allocations: 12.53 MB / 0.5868 GB, free: 3.422 MB / 430.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: 6.234582832083106] Failed to read output from testmodel.py, exit status != 0: 0.5995255280286074 0.616168213 0.18559159900000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7facc00797b0>