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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_AHU_001") translateModel(AES.Devel_test_models.Test_AHU_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_AHU_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005336/0.005336, allocations: 109.9 kB / 15.71 MB, free: 5.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 188.5 kB / 16.64 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.3 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.225/0.225, allocations: 22.35 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.38 kB / 437 MB, free: 33.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09626/0.09752, allocations: 54.97 MB / 492 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.004901/0.1024, allocations: 4.255 MB / 496.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1044, allocations: 1.333 MB / 497.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.1046, allocations: 4 kB / 497.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.1048, allocations: 87.06 kB / 497.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.1052, allocations: 229.9 kB / 497.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.1057, allocations: 315.5 kB / 498.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008792/0.1066, allocations: 1.158 MB / 499.4 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005215/0.1072, allocations: 472.7 kB / 499.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.1076, allocations: 426.9 kB / 0.4885 GB, free: 8.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000466/0.108, allocations: 450.3 kB / 0.489 GB, free: 8.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.1082, allocations: 100 kB / 0.4891 GB, free: 8.348 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1083, allocations: 100 kB / 0.4891 GB, free: 8.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.1085, allocations: 211.3 kB / 0.4893 GB, free: 8.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.109, allocations: 462.1 kB / 0.4898 GB, free: 7.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009282/0.1099, allocations: 1.016 MB / 0.4908 GB, free: 6.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1099, allocations: 4 kB / 0.4908 GB, free: 6.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1099, allocations: 0 / 0.4908 GB, free: 6.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1099, allocations: 0 / 0.4908 GB, free: 6.566 MB / 366.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.002087/0.112, allocations: 1.036 MB / 0.4918 GB, free: 5.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1121, allocations: 12.03 kB / 0.4918 GB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.1122, allocations: 83.94 kB / 0.4919 GB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1124, allocations: 251.9 kB / 0.4921 GB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.1125, allocations: 70.12 kB / 0.4922 GB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.1127, allocations: 88 kB / 0.4923 GB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.1139, allocations: 0.7258 MB / 0.493 GB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.114, allocations: 3.938 kB / 0.493 GB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.114, allocations: 36 kB / 0.493 GB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.1141, allocations: 24 kB / 0.4931 GB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.1153, allocations: 0.73 MB / 0.4938 GB, free: 3.426 MB / 366.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.003508/0.1188, allocations: 2.396 MB / 0.4961 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.1206, allocations: 0.8822 MB / 0.497 GB, free: 8 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.1212, allocations: 335.8 kB / 0.4973 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.707e-05/0.1212, allocations: 13 kB / 0.4973 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1213, allocations: 47.55 kB / 0.4973 GB, free: 15.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.595e-06/0.1213, allocations: 0 / 0.4973 GB, free: 15.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.008809/0.1301, allocations: 3.415 MB / 0.5007 GB, free: 12.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1302, allocations: 68.34 kB / 0.5007 GB, free: 12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1304, allocations: 203.2 kB / 0.5009 GB, free: 11.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.989e-05/0.1305, allocations: 45.7 kB / 0.501 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1306, allocations: 256.9 kB / 0.5012 GB, free: 11.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.1309, allocations: 386.3 kB / 0.5016 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.1311, allocations: 150.7 kB / 0.5017 GB, free: 10.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1313, allocations: 358.8 kB / 0.5021 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/0.1318, allocations: 301.9 kB / 0.5024 GB, free: 10.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.1324, allocations: 395.1 kB / 0.5027 GB, free: 9.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/0.1429, allocations: 2.324 MB / 0.505 GB, free: 7.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1429, allocations: 0 / 0.505 GB, free: 7.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002584/0.1455, allocations: 1.172 MB / 0.5062 GB, free: 6.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1456, allocations: 7.938 kB / 0.5062 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1456, allocations: 0 / 0.5062 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.147, allocations: 327.1 kB / 0.5065 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005353/0.1524, allocations: 0.7529 MB / 0.5072 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/0.1657, allocations: 15.86 MB / 0.5227 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.1664, allocations: 40.02 kB / 0.5227 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/0.1664, allocations: 28.06 kB / 0.5228 GB, free: 3.906 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.0004154/0.1669, allocations: 234.4 kB / 0.523 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.775e-05/0.167, allocations: 51.44 kB / 0.523 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.1701, allocations: 1.39 MB / 0.5244 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.1701, allocations: 15.94 kB / 0.5244 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1701, allocations: 0 / 0.5244 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.1701, allocations: 7.984 kB / 0.5244 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.1745, allocations: 2.545 MB / 0.5269 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.1745, allocations: 4 kB / 0.5269 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004873/0.1794, allocations: 0.6837 MB / 0.5276 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/0.1818, allocations: 498.8 kB / 0.5281 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/0.1819, allocations: 28 kB / 0.5281 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/0.1957, allocations: 16.13 MB / 0.5438 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.1958, allocations: 15.92 kB / 0.5439 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.1997, allocations: 1.963 MB / 0.5458 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.1998, allocations: 132.5 kB / 0.5459 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.2, allocations: 32 kB / 0.5459 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.2006, allocations: 27.98 kB / 0.546 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.2009, allocations: 128.6 kB / 0.5461 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.201, allocations: 35.98 kB / 0.5461 GB, free: 10.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.2011, allocations: 163.2 kB / 0.5463 GB, free: 10.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2011, allocations: 0 / 0.5463 GB, free: 10.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00117/0.2023, allocations: 264 kB / 0.5465 GB, free: 9.832 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.0002027/0.2025, allocations: 137.2 kB / 0.5466 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00718/0.2097, allocations: 1.998 MB / 0.5486 GB, free: 7.641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.2097, allocations: 8.25 kB / 0.5486 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006093/0.2158, allocations: 1.618 MB / 0.5502 GB, free: 5.965 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.2169, allocations: 180.3 kB / 0.5504 GB, free: 5.789 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.2201, allocations: 1.823 MB / 0.5521 GB, free: 3.844 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.2206, allocations: 0.9288 MB / 0.553 GB, free: 2.887 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004647/0.2211, allocations: 85.12 kB / 0.5531 GB, free: 2.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.2213, allocations: 51.42 kB / 0.5532 GB, free: 2.754 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2213, allocations: 0 / 0.5532 GB, free: 2.754 MB / 430.1 MB Notification: Performance of Templates: time 0.02157/0.2429, allocations: 13.51 MB / 0.5664 GB, free: 5.336 MB / 446.1 MB make -j1 -f AES_AES.Devel_test_models.Test_AHU_001.makefile (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)