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.001152/0.001152, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001198/0.001198, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.187/1.187, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1681/0.1681, allocations: 22.37 MB / 313.1 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 381 MB, free: 10.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 54.95 MB / 435.9 MB, free: 39.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.00358/0.212, allocations: 4.261 MB / 440.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.2137, allocations: 1.336 MB / 441.5 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.214, allocations: 5.312 kB / 441.5 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.2142, allocations: 59.94 kB / 441.6 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003939/0.2146, allocations: 214.7 kB / 441.8 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.2151, allocations: 267.9 kB / 442 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.2157, allocations: 1.168 MB / 443.2 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.2161, allocations: 459.2 kB / 443.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.2163, allocations: 434.3 kB / 444.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.2167, allocations: 443.2 kB / 444.5 MB, free: 34.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.533e-05/0.2168, allocations: 101 kB / 444.6 MB, free: 34.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.2169, allocations: 99.03 kB / 444.7 MB, free: 34.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.217, allocations: 206.9 kB / 444.9 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.2172, allocations: 457.1 kB / 445.4 MB, free: 33.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003881/0.2176, allocations: 0.776 MB / 446.1 MB, free: 33.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2176, allocations: 4 kB / 446.1 MB, free: 33.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2176, allocations: 0 / 446.1 MB, free: 33.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.2176, allocations: 0 / 446.1 MB, free: 33.37 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.001672/0.2193, allocations: 1.029 MB / 447.2 MB, free: 32.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.2194, allocations: 11.31 kB / 447.2 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.2195, allocations: 81.58 kB / 447.3 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2196, allocations: 247 kB / 447.5 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.2196, allocations: 68.12 kB / 447.6 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.083e-05/0.2197, allocations: 90.47 kB / 447.7 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009842/0.2207, allocations: 0.7349 MB / 448.4 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.2208, allocations: 0 / 448.4 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.2208, allocations: 34 kB / 448.4 MB, free: 31.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.2209, allocations: 25.75 kB / 448.5 MB, free: 31.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009389/0.2218, allocations: 0.7231 MB / 449.2 MB, free: 31.75 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.002586/0.2244, allocations: 2.401 MB / 451.6 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.2258, allocations: 0.8841 MB / 452.5 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.2263, allocations: 334.6 kB / 452.8 MB, free: 29.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/0.2263, allocations: 23.61 kB / 452.8 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.2263, allocations: 49.59 kB / 452.9 MB, free: 29.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 1.984e-06/0.2264, allocations: 0 / 452.9 MB, free: 29.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.007612/0.234, allocations: 3.409 MB / 456.3 MB, free: 28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.234, allocations: 64.16 kB / 456.3 MB, free: 27.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.2342, allocations: 211.1 kB / 456.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.2342, allocations: 46.11 kB / 456.6 MB, free: 27.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.2343, allocations: 245.2 kB / 456.8 MB, free: 27.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.2345, allocations: 390.1 kB / 457.2 MB, free: 27.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.2347, allocations: 152.9 kB / 457.4 MB, free: 27.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.2347, allocations: 359.5 kB / 457.7 MB, free: 26.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.2352, allocations: 302.4 kB / 458 MB, free: 26.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.2357, allocations: 393.9 kB / 458.4 MB, free: 26.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.2459, allocations: 2.325 MB / 460.7 MB, free: 25.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2459, allocations: 0 / 460.7 MB, free: 25.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00234/0.2483, allocations: 1.166 MB / 461.9 MB, free: 25.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2483, allocations: 5.469 kB / 461.9 MB, free: 25.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2483, allocations: 5.094 kB / 461.9 MB, free: 25.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.2497, allocations: 333.7 kB / 462.2 MB, free: 25.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005356/0.2551, allocations: 0.7413 MB / 463 MB, free: 25.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00949/0.2646, allocations: 15.93 MB / 478.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.2652, allocations: 55.64 kB / 478.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/0.2653, allocations: 29.77 kB / 479 MB, free: 9.559 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = max(0.0, 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 = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = max(0.0, max(0.0, 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.0003235/0.2656, allocations: 254.8 kB / 479.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.305e-05/0.2657, allocations: 52.88 kB / 479.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002977/0.2687, allocations: 1.383 MB / 480.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.2687, allocations: 18.94 kB / 480.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2687, allocations: 2.75 kB / 480.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.2688, allocations: 5.484 kB / 480.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/0.2728, allocations: 2.546 MB / 483.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.2728, allocations: 7.953 kB / 483.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004836/0.2777, allocations: 0.6893 MB / 483.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/0.28, allocations: 493.3 kB / 484.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.2801, allocations: 32.78 kB / 484.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.2915, allocations: 16.14 MB / 0.4888 GB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.2915, allocations: 8.344 kB / 0.4889 GB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.2951, allocations: 1.96 MB / 0.4908 GB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.2953, allocations: 128.8 kB / 0.4909 GB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.605e-05/0.2954, allocations: 32.02 kB / 0.4909 GB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006385/0.296, allocations: 50.2 kB / 0.491 GB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.2962, allocations: 125.6 kB / 0.4911 GB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.655e-05/0.2963, allocations: 38.34 kB / 0.4911 GB, free: 6.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.2965, allocations: 160.6 kB / 0.4913 GB, free: 6.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2965, allocations: 0 / 0.4913 GB, free: 6.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001064/0.2975, allocations: 264.4 kB / 0.4915 GB, free: 5.988 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.000167/0.2977, allocations: 148.3 kB / 0.4917 GB, free: 5.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007223/0.3049, allocations: 2 MB / 0.4936 GB, free: 4.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.305, allocations: 0 / 0.4936 GB, free: 4.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005863/0.3108, allocations: 1.594 MB / 0.4952 GB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009047/0.3117, allocations: 190.4 kB / 0.4954 GB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.3145, allocations: 2.202 MB / 0.4975 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.315, allocations: 0.9325 MB / 0.4984 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.3152, allocations: 47.44 kB / 0.4985 GB, free: 15.69 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3152, allocations: 0 / 0.4985 GB, free: 15.69 MB / 382.1 MB Notification: Performance of Templates: time 0.02853/0.3437, allocations: 35.24 MB / 0.5329 GB, free: 12.39 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)