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.001092/0.001092, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2263/0.2263, allocations: 22.35 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 380.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3696, allocations: 54.94 MB / 435.8 MB, free: 39.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005104/0.3747, allocations: 4.24 MB / 440 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.3772, allocations: 1.342 MB / 441.3 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.3774, allocations: 2.844 kB / 441.3 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.3776, allocations: 84.91 kB / 441.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.3781, allocations: 248 kB / 441.7 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.3787, allocations: 302 kB / 442 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009032/0.3796, allocations: 1.16 MB / 443.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005227/0.3801, allocations: 473.3 kB / 443.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.3805, allocations: 429.2 kB / 444 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004199/0.3809, allocations: 455.3 kB / 444.4 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.3811, allocations: 100.1 kB / 444.5 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.3812, allocations: 97.84 kB / 444.6 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.3814, allocations: 207.4 kB / 444.8 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.3817, allocations: 454.2 kB / 445.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006793/0.3824, allocations: 1.01 MB / 446.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3824, allocations: 0 / 446.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3824, allocations: 3.938 kB / 446.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3824, allocations: 3.328 kB / 446.3 MB, free: 33.32 MB / 350.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.001822/0.3843, allocations: 1.034 MB / 447.3 MB, free: 32.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3843, allocations: 8.594 kB / 447.3 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.3844, allocations: 81.48 kB / 447.4 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.3846, allocations: 251.6 kB / 447.7 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.3847, allocations: 69.88 kB / 447.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.3848, allocations: 87.84 kB / 447.8 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.3859, allocations: 0.7345 MB / 448.6 MB, free: 31.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.3859, allocations: 0 / 448.6 MB, free: 31.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-05/0.386, allocations: 34.34 kB / 448.6 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.386, allocations: 25 kB / 448.6 MB, free: 31.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.3871, allocations: 0.7253 MB / 449.3 MB, free: 31.69 MB / 350.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.003071/0.3901, allocations: 2.417 MB / 451.8 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.3917, allocations: 0.8851 MB / 452.6 MB, free: 29.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.3922, allocations: 341.9 kB / 453 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.183e-05/0.3923, allocations: 17.83 kB / 453 MB, free: 29.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.3923, allocations: 41.97 kB / 453 MB, free: 29.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 1.944e-06/0.3923, allocations: 0 / 453 MB, free: 29.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.008488/0.4008, allocations: 3.411 MB / 456.4 MB, free: 27.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4009, allocations: 67.97 kB / 456.5 MB, free: 27.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.4011, allocations: 204.2 kB / 456.7 MB, free: 27.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/0.4012, allocations: 45.67 kB / 456.8 MB, free: 27.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.4013, allocations: 251.6 kB / 457 MB, free: 27.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.4016, allocations: 392.4 kB / 457.4 MB, free: 27.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.4018, allocations: 151.8 kB / 457.5 MB, free: 27.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.4019, allocations: 357.3 kB / 457.9 MB, free: 26.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.4024, allocations: 307.9 kB / 458.2 MB, free: 26.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/0.403, allocations: 398.8 kB / 458.6 MB, free: 26.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/0.4142, allocations: 2.313 MB / 460.9 MB, free: 25.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.4142, allocations: 0.9062 kB / 460.9 MB, free: 25.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00292/0.4172, allocations: 1.165 MB / 462 MB, free: 25.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.4172, allocations: 4.469 kB / 462.1 MB, free: 25.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.4172, allocations: 2.031 kB / 462.1 MB, free: 25.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.4188, allocations: 339.9 kB / 462.4 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005784/0.4246, allocations: 0.7452 MB / 463.1 MB, free: 25.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.4362, allocations: 15.89 MB / 479 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008706/0.4371, allocations: 31.05 kB / 479.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.4372, allocations: 34.86 kB / 479.1 MB, free: 9.504 MB / 350.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 = 100000.0 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.0005248/0.4377, allocations: 228.9 kB / 479.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.4378, allocations: 48.8 kB / 479.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003354/0.4412, allocations: 1.39 MB / 480.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.4412, allocations: 15.69 kB / 480.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.4413, allocations: 5.891 kB / 480.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.4413, allocations: 5.344 kB / 480.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/0.4473, allocations: 2.544 MB / 483.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.4473, allocations: 6.344 kB / 483.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005112/0.4524, allocations: 0.6929 MB / 484 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/0.4552, allocations: 487.8 kB / 484.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/0.4554, allocations: 32.14 kB / 484.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/0.4704, allocations: 16.14 MB / 0.4889 GB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.4704, allocations: 14.47 kB / 0.4889 GB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.475, allocations: 1.961 MB / 0.4909 GB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.4752, allocations: 133.9 kB / 0.491 GB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.4753, allocations: 30.83 kB / 0.491 GB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.476, allocations: 37.47 kB / 0.491 GB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004077/0.4764, allocations: 121.4 kB / 0.4912 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.4765, allocations: 39.48 kB / 0.4912 GB, free: 6.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.4767, allocations: 159.7 kB / 0.4914 GB, free: 5.977 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4767, allocations: 0 / 0.4914 GB, free: 5.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001469/0.4782, allocations: 264.7 kB / 0.4916 GB, free: 5.934 MB / 366.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.0002366/0.4784, allocations: 139.7 kB / 0.4917 GB, free: 5.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008009/0.4865, allocations: 2.018 MB / 0.4937 GB, free: 4.102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.4865, allocations: 0 / 0.4937 GB, free: 4.102 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006809/0.4933, allocations: 1.623 MB / 0.4953 GB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.4946, allocations: 180.4 kB / 0.4955 GB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.4982, allocations: 1.843 MB / 0.4973 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/0.499, allocations: 0.9366 MB / 0.4982 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007138/0.4997, allocations: 89.11 kB / 0.4983 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.4999, allocations: 43.44 kB / 0.4983 GB, free: 15.52 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4999, allocations: 0 / 0.4983 GB, free: 15.52 MB / 382.1 MB Notification: Performance of Templates: time 0.02393/0.5238, allocations: 13.48 MB / 0.5115 GB, free: 2.152 MB / 382.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)