Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_AHU_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.001342/0.001342, allocations: 105.1 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.001326/0.001326, 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.497/1.497, 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.1008/0.1008, allocations: 22.7 MB / 325.4 MB, free: 3.547 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.Devel_test_models.Test_AHU_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_AHU_001") translateModel(AES.Devel_test_models.Test_AHU_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_AHU_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003016/0.003016, allocations: 68.12 kB / 457.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1664, allocations: 58.02 MB / 0.5036 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005826/0.1723, allocations: 4.277 MB / 0.5078 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.1748, allocations: 1.321 MB / 0.5091 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.175, allocations: 11.94 kB / 0.5091 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1752, allocations: 87.06 kB / 0.5092 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005562/0.1758, allocations: 237.9 kB / 0.5094 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006276/0.1764, allocations: 307.5 kB / 0.5097 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2702/0.4466, allocations: 1.159 MB / 0.5108 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008239/0.4475, allocations: 408.7 kB / 0.5112 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005817/0.448, allocations: 438 kB / 0.5116 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004904/0.4485, allocations: 444.8 kB / 0.512 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.4487, allocations: 99.62 kB / 0.5121 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.4488, allocations: 100.6 kB / 0.5122 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.449, allocations: 204.2 kB / 0.5124 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.4493, allocations: 453.9 kB / 0.5129 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008637/0.4502, allocations: 1.033 MB / 0.5139 GB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4502, allocations: 0 / 0.5139 GB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4502, allocations: 0.6562 kB / 0.5139 GB, free: 10.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.4502, allocations: 1.844 kB / 0.5139 GB, free: 10.58 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.001984/0.4522, allocations: 1.05 MB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4522, allocations: 10.41 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.4523, allocations: 84.92 kB / 0.515 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.4525, allocations: 257.5 kB / 0.5152 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.4526, allocations: 67.38 kB / 0.5153 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.4527, allocations: 89.91 kB / 0.5154 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.4539, allocations: 0.7283 MB / 0.5161 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.4539, allocations: 1.719 kB / 0.5161 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.628e-05/0.454, allocations: 40.5 kB / 0.5161 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.454, allocations: 21.44 kB / 0.5162 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.4553, allocations: 0.7242 MB / 0.5169 GB, free: 9.664 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.003608/0.4589, allocations: 2.408 MB / 0.5192 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.4607, allocations: 0.8242 MB / 0.52 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.4612, allocations: 306.6 kB / 0.5203 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.088e-05/0.4613, allocations: 22.28 kB / 0.5203 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.4613, allocations: 47.03 kB / 0.5204 GB, free: 8.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.427e-06/0.4614, allocations: 0 / 0.5204 GB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.009766/0.4711, allocations: 3.406 MB / 0.5237 GB, free: 6.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.4712, allocations: 67.5 kB / 0.5238 GB, free: 6.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.4715, allocations: 212.7 kB / 0.524 GB, free: 6.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.974e-05/0.4715, allocations: 45.11 kB / 0.524 GB, free: 6.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4717, allocations: 263.6 kB / 0.5243 GB, free: 6.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000302/0.472, allocations: 405.9 kB / 0.5247 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.4723, allocations: 154.7 kB / 0.5248 GB, free: 5.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4724, allocations: 357 kB / 0.5251 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/0.473, allocations: 302.2 kB / 0.5254 GB, free: 5.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.4736, allocations: 391.6 kB / 0.5258 GB, free: 4.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.4857, allocations: 2.321 MB / 0.5281 GB, free: 4.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4857, allocations: 1 kB / 0.5281 GB, free: 4.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002864/0.4885, allocations: 1.159 MB / 0.5292 GB, free: 3.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4885, allocations: 6.562 kB / 0.5292 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4886, allocations: 1.719 kB / 0.5292 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.4902, allocations: 331.5 kB / 0.5295 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006049/0.4962, allocations: 0.7386 MB / 0.5303 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/0.5122, allocations: 15.9 MB / 0.5458 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/0.5131, allocations: 26.62 kB / 0.5458 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.677e-05/0.5132, allocations: 33.02 kB / 0.5458 GB, free: 4.219 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 (103): * Single equations (assignments): 93 * 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,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005211/0.5137, allocations: 228.5 kB / 0.5461 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.5139, allocations: 55.17 kB / 0.5461 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/0.5176, allocations: 1.383 MB / 0.5475 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.5177, allocations: 13.66 kB / 0.5475 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.5177, allocations: 5.156 kB / 0.5475 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.5177, allocations: 4.5 kB / 0.5475 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006119/0.5238, allocations: 2.542 MB / 0.55 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.5238, allocations: 10.25 kB / 0.55 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007125/0.5309, allocations: 0.6855 MB / 0.5506 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003561/0.5345, allocations: 487.1 kB / 0.5511 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/0.5348, allocations: 34.2 kB / 0.5511 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02363/0.5584, allocations: 16.14 MB / 0.5669 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.685e-05/0.5584, allocations: 10.69 kB / 0.5669 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006172/0.5646, allocations: 1.962 MB / 0.5688 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.565, allocations: 135.1 kB / 0.569 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.5651, allocations: 28.53 kB / 0.569 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009091/0.566, allocations: 35.7 kB / 0.569 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004951/0.5665, allocations: 121 kB / 0.5691 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.5666, allocations: 40.75 kB / 0.5692 GB, free: 15.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.5669, allocations: 165.6 kB / 0.5693 GB, free: 15.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5669, allocations: 0 / 0.5693 GB, free: 15.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001868/0.5688, allocations: 261.9 kB / 0.5696 GB, free: 15.67 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.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 (92): * Single equations (assignments): 82 * 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): 2 systems {(2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.569, allocations: 140.5 kB / 0.5697 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.5791, allocations: 1.944 MB / 0.5716 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.5791, allocations: 4.062 kB / 0.5716 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007131/0.5863, allocations: 1.596 MB / 0.5732 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.5875, allocations: 189.2 kB / 0.5734 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.5911, allocations: 1.838 MB / 0.5752 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.5918, allocations: 0.9367 MB / 0.5761 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005214/0.5924, allocations: 85.12 kB / 0.5761 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.5926, allocations: 47.42 kB / 0.5762 GB, free: 10.21 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5926, allocations: 0 / 0.5762 GB, free: 10.21 MB / 430.1 MB Notification: Performance of Templates: time 0.02724/0.6198, allocations: 13.85 MB / 0.5897 GB, free: 12.46 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Devel_test_models.Test_AHU_001.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_AHU_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_AHU_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_AHU_001.pipe >> ../files/AES_AES.Devel_test_models.Test_AHU_001.sim & ./AES_AES.Devel_test_models.Test_AHU_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_AHU_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.102065642829984] Failed to read output from testmodel.py, exit status != 0: 0.6312322122976184 0.643534522 0.190347117 Calling exit ...