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.009958/0.009958, allocations: 100.9 kB / 15.73 MB, free: 5.586 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.002388/0.002388, allocations: 189.4 kB / 16.67 MB, free: 5.523 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.393/1.393, allocations: 222.9 MB / 240.4 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.08849/0.08849, allocations: 22.32 MB / 312.8 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.89 kB / 437 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1121, allocations: 54.95 MB / 492 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005036/0.1172, allocations: 4.248 MB / 496.2 MB, free: 496 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1195, allocations: 1.333 MB / 497.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.1197, allocations: 4 kB / 497.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.1199, allocations: 91 kB / 497.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.1204, allocations: 237.9 kB / 497.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.121, allocations: 299.6 kB / 498.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.122, allocations: 1.169 MB / 499.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005334/0.1225, allocations: 468.9 kB / 499.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.123, allocations: 430.8 kB / 0.4885 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004936/0.1235, allocations: 442.3 kB / 0.4889 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.1236, allocations: 100 kB / 0.489 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1237, allocations: 100 kB / 0.4891 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.1239, allocations: 211.4 kB / 0.4893 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.1243, allocations: 454.1 kB / 0.4898 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008108/0.1251, allocations: 1.028 MB / 0.4908 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1251, allocations: 0 / 0.4908 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1251, allocations: 0 / 0.4908 GB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.1251, allocations: 0 / 0.4908 GB, free: 10.16 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.002238/0.1274, allocations: 1.034 MB / 0.4918 GB, free: 9.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1274, allocations: 8.031 kB / 0.4918 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.1276, allocations: 80 kB / 0.4919 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1279, allocations: 251.1 kB / 0.4921 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/0.1279, allocations: 86 kB / 0.4922 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.1281, allocations: 84 kB / 0.4923 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.1294, allocations: 0.7258 MB / 0.493 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1294, allocations: 0 / 0.493 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.1295, allocations: 36 kB / 0.493 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.1295, allocations: 27.92 kB / 0.493 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1307, allocations: 0.7222 MB / 0.4937 GB, free: 7.023 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.00359/0.1343, allocations: 2.393 MB / 0.4961 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.136, allocations: 0.8858 MB / 0.4969 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/0.1365, allocations: 335.8 kB / 0.4973 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.36e-05/0.1366, allocations: 17.53 kB / 0.4973 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1367, allocations: 47.55 kB / 0.4973 GB, free: 3.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 4.218e-06/0.1367, allocations: 0 / 0.4973 GB, free: 3.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.2576/0.3943, allocations: 3.41 MB / 0.5007 GB, free: 22.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.3944, allocations: 63.81 kB / 0.5007 GB, free: 21.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.3946, allocations: 215.9 kB / 0.5009 GB, free: 21.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.3948, allocations: 45.42 kB / 0.501 GB, free: 21.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3949, allocations: 254.4 kB / 0.5012 GB, free: 21.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.3951, allocations: 382 kB / 0.5016 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.3953, allocations: 153.3 kB / 0.5017 GB, free: 21.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.043e-05/0.3954, allocations: 361.9 kB / 0.5021 GB, free: 21.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.3959, allocations: 300.3 kB / 0.5024 GB, free: 21.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.3964, allocations: 393.8 kB / 0.5027 GB, free: 21.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.407, allocations: 2.317 MB / 0.505 GB, free: 21.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.407, allocations: 0 / 0.505 GB, free: 21.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002578/0.4096, allocations: 1.166 MB / 0.5061 GB, free: 20.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.4097, allocations: 9.359 kB / 0.5061 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4097, allocations: 5.922 kB / 0.5061 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/0.4113, allocations: 325 kB / 0.5065 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005455/0.4167, allocations: 0.7431 MB / 0.5072 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.4274, allocations: 15.89 MB / 0.5227 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.4281, allocations: 25.12 kB / 0.5227 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.4282, allocations: 37.69 kB / 0.5228 GB, free: 6.43 MB / 382.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.0004307/0.4286, allocations: 228.6 kB / 0.523 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4287, allocations: 53.11 kB / 0.523 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/0.4319, allocations: 1.387 MB / 0.5244 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.432, allocations: 17.59 kB / 0.5244 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.432, allocations: 5.094 kB / 0.5244 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.432, allocations: 6.406 kB / 0.5244 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/0.4366, allocations: 2.541 MB / 0.5269 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.4366, allocations: 7.156 kB / 0.5269 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005193/0.4418, allocations: 0.6824 MB / 0.5276 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/0.4443, allocations: 499.8 kB / 0.528 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/0.4444, allocations: 30.58 kB / 0.5281 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/0.4579, allocations: 16.14 MB / 0.5438 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.458, allocations: 11.31 kB / 0.5438 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004194/0.4622, allocations: 1.963 MB / 0.5458 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.4624, allocations: 133.2 kB / 0.5459 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4625, allocations: 33.56 kB / 0.5459 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.4631, allocations: 31.66 kB / 0.5459 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/0.4634, allocations: 119.9 kB / 0.5461 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/0.4635, allocations: 40.7 kB / 0.5461 GB, free: 4.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.4637, allocations: 164.6 kB / 0.5463 GB, free: 4.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4637, allocations: 0 / 0.5463 GB, free: 4.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001448/0.4652, allocations: 262 kB / 0.5465 GB, free: 4.387 MB / 398.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.0002616/0.4654, allocations: 137.9 kB / 0.5466 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007225/0.4727, allocations: 1.996 MB / 0.5486 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/0.4727, allocations: 1.125 kB / 0.5486 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006535/0.4793, allocations: 1.63 MB / 0.5502 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.4806, allocations: 180.8 kB / 0.5503 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/0.484, allocations: 1.811 MB / 0.5521 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.4846, allocations: 0.9321 MB / 0.553 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004883/0.4851, allocations: 88.67 kB / 0.5531 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.4853, allocations: 44.62 kB / 0.5532 GB, free: 200 kB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4853, allocations: 0 / 0.5532 GB, free: 200 kB / 398.1 MB Notification: Performance of Templates: time 0.02159/0.5069, allocations: 13.73 MB / 0.5666 GB, free: 4.695 MB / 414.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)