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.00139/0.00139, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001608/0.001608, allocations: 191.6 kB / 17.31 MB, free: 5.613 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 / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09249/0.09249, allocations: 22.32 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 65.06 kB / 382.3 MB, free: 41.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09198, allocations: 54.95 MB / 437.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005213/0.09723, allocations: 4.258 MB / 441.5 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.09938, allocations: 1.333 MB / 442.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.09956, allocations: 4 kB / 442.8 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.09972, allocations: 87.06 kB / 442.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.1002, allocations: 233.9 kB / 443.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.1007, allocations: 307.5 kB / 443.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1019, allocations: 1.169 MB / 444.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.1025, allocations: 461 kB / 445 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005532/0.1031, allocations: 430.8 kB / 445.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005607/0.1037, allocations: 450.3 kB / 445.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.1038, allocations: 96 kB / 446 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.104, allocations: 100 kB / 446.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.1042, allocations: 207.4 kB / 446.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004791/0.1047, allocations: 454.1 kB / 446.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1057, allocations: 1.028 MB / 447.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1057, allocations: 3.938 kB / 447.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.135e-06/0.1057, allocations: 0 / 447.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.1057, allocations: 0 / 447.8 MB, free: 1.629 MB / 318.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.002221/0.108, allocations: 1.038 MB / 448.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.108, allocations: 8.031 kB / 448.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.1082, allocations: 80 kB / 448.9 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1084, allocations: 251.9 kB / 449.1 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.1085, allocations: 70.12 kB / 449.2 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.1086, allocations: 91.94 kB / 449.3 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.1098, allocations: 0.722 MB / 450 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1098, allocations: 0 / 450 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.94e-05/0.1099, allocations: 40 kB / 450.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.1099, allocations: 20 kB / 450.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.1111, allocations: 0.73 MB / 450.8 MB, free: 14.49 MB / 334.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.003411/0.1145, allocations: 2.405 MB / 453.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.1162, allocations: 0.8888 MB / 454.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/0.1167, allocations: 335.8 kB / 454.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.466e-05/0.1168, allocations: 20.98 kB / 454.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.1169, allocations: 47.55 kB / 454.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.234e-06/0.1169, allocations: 0 / 454.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=114): time 0.008521/0.1254, allocations: 3.403 MB / 457.9 MB, free: 7.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1255, allocations: 64.41 kB / 458 MB, free: 7.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.1257, allocations: 207 kB / 458.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/0.1258, allocations: 45.7 kB / 458.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1259, allocations: 260.8 kB / 458.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.1262, allocations: 386.3 kB / 458.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.1264, allocations: 150.7 kB / 459 MB, free: 5.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1266, allocations: 362.7 kB / 459.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/0.1271, allocations: 301.9 kB / 459.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.1277, allocations: 399.1 kB / 460 MB, free: 4.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.1386, allocations: 2.317 MB / 462.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1386, allocations: 4 kB / 462.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00274/0.1413, allocations: 1.168 MB / 463.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1414, allocations: 4 kB / 463.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1414, allocations: 7.984 kB / 463.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/0.1429, allocations: 327 kB / 463.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005783/0.1487, allocations: 0.7413 MB / 464.6 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/0.1626, allocations: 15.88 MB / 480.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006282/0.1632, allocations: 35.98 kB / 480.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.1633, allocations: 32.06 kB / 480.5 MB, free: 14.95 MB / 366.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.0004281/0.1638, allocations: 230.8 kB / 480.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1639, allocations: 47.44 kB / 480.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.1671, allocations: 1.394 MB / 482.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.1672, allocations: 11.94 kB / 482.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.1672, allocations: 4 kB / 482.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.1672, allocations: 3.984 kB / 482.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004856/0.172, allocations: 2.549 MB / 484.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.1721, allocations: 11.94 kB / 484.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005054/0.1771, allocations: 0.6798 MB / 485.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/0.1795, allocations: 0.4949 MB / 485.9 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.1796, allocations: 28 kB / 486 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/0.1937, allocations: 16.13 MB / 0.4903 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.1938, allocations: 11.94 kB / 0.4903 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/0.1975, allocations: 1.963 MB / 0.4923 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.1977, allocations: 140.4 kB / 0.4924 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.1978, allocations: 28 kB / 0.4924 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/0.1984, allocations: 31.98 kB / 0.4925 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/0.1987, allocations: 124.6 kB / 0.4926 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.1988, allocations: 39.98 kB / 0.4926 GB, free: 5.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.199, allocations: 163.2 kB / 0.4928 GB, free: 5.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.199, allocations: 0 / 0.4928 GB, free: 5.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001165/0.2001, allocations: 260 kB / 0.493 GB, free: 4.875 MB / 382.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.0002469/0.2004, allocations: 135 kB / 0.4931 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007412/0.2078, allocations: 1.998 MB / 0.4951 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/0.2078, allocations: 4.25 kB / 0.4951 GB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006138/0.214, allocations: 1.618 MB / 0.4967 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.215, allocations: 185.7 kB / 0.4969 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.218, allocations: 1.81 MB / 0.4986 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.2186, allocations: 0.9327 MB / 0.4995 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005072/0.2191, allocations: 89.11 kB / 0.4996 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.2193, allocations: 43.44 kB / 0.4997 GB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2193, allocations: 0 / 0.4997 GB, free: 13.8 MB / 398.1 MB Notification: Performance of Templates: time 0.02339/0.2427, allocations: 13.51 MB / 0.5129 GB, free: 392 kB / 398.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 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_AHU_001.pipe 2>&1)