Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_002.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_air_circ_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") translateModel(AES.Devel_test_models.Test_air_circ_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001305/0.001305, allocations: 192.3 kB / 16.14 MB, free: 6.711 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2135/0.2135, allocations: 22.35 MB / 312.3 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.84 kB / 380.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3297, allocations: 54.94 MB / 435 MB, free: 39.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.004077/0.3338, allocations: 4.043 MB / 439.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.3355, allocations: 1.279 MB / 440.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.3357, allocations: 2.75 kB / 440.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.3358, allocations: 56.95 kB / 440.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.3362, allocations: 198.6 kB / 440.6 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.3366, allocations: 251.3 kB / 440.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007381/0.3373, allocations: 1.032 MB / 441.9 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004936/0.3378, allocations: 422.3 kB / 442.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.3382, allocations: 364.6 kB / 442.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.3386, allocations: 430.5 kB / 443.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.572e-05/0.3387, allocations: 50.72 kB / 443.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.3388, allocations: 52.28 kB / 443.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.3389, allocations: 161.4 kB / 443.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.3392, allocations: 389 kB / 443.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.3398, allocations: 0.9587 MB / 444.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3399, allocations: 0 / 444.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3399, allocations: 0 / 444.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3399, allocations: 7.938 kB / 444.7 MB, free: 33.75 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001926/0.3418, allocations: 1.004 MB / 445.7 MB, free: 33.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3419, allocations: 12.75 kB / 445.7 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.342, allocations: 74.06 kB / 445.8 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.3421, allocations: 239.1 kB / 446 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.3422, allocations: 59.69 kB / 446.1 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.3423, allocations: 83.19 kB / 446.1 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.3434, allocations: 0.741 MB / 446.9 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3434, allocations: 0 / 446.9 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.3435, allocations: 32.78 kB / 446.9 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.3435, allocations: 20.22 kB / 446.9 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.3446, allocations: 0.745 MB / 447.7 MB, free: 32.15 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 293.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 = 293.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.3477, allocations: 2.226 MB / 449.9 MB, free: 30.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.3497, allocations: 0.9862 MB / 450.9 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.3502, allocations: 376.2 kB / 451.3 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.715e-05/0.3503, allocations: 15.48 kB / 451.3 MB, free: 30.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.3503, allocations: 42.19 kB / 451.3 MB, free: 30.26 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003668/0.3507, allocations: 99.45 kB / 451.4 MB, free: 30.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 2.735e-06/0.3507, allocations: 3.938 kB / 451.4 MB, free: 30.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01369/0.3644, allocations: 4.155 MB / 455.6 MB, free: 28.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3645, allocations: 70.8 kB / 455.6 MB, free: 28.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3647, allocations: 219.6 kB / 455.9 MB, free: 28.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/0.3648, allocations: 45.77 kB / 455.9 MB, free: 28.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3649, allocations: 222.1 kB / 456.1 MB, free: 28.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.3651, allocations: 399.3 kB / 456.5 MB, free: 27.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.3654, allocations: 155.6 kB / 456.7 MB, free: 27.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.3655, allocations: 357 kB / 457 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.366, allocations: 322.2 kB / 457.3 MB, free: 27.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.3667, allocations: 398 kB / 457.7 MB, free: 27.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/0.382, allocations: 2.847 MB / 460.6 MB, free: 26.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.382, allocations: 0 / 460.6 MB, free: 26.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004954/0.387, allocations: 1.496 MB / 462.1 MB, free: 25.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.3871, allocations: 8.062 kB / 462.1 MB, free: 25.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3871, allocations: 0 / 462.1 MB, free: 25.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004529/0.3916, allocations: 0.756 MB / 462.8 MB, free: 25.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005936/0.3976, allocations: 0.7347 MB / 463.6 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/0.4128, allocations: 14.87 MB / 478.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008919/0.4137, allocations: 50.67 kB / 478.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.4139, allocations: 33.44 kB / 478.5 MB, free: 12.08 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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, 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: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000551/0.4144, allocations: 231.2 kB / 478.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.4146, allocations: 53.41 kB / 478.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.4191, allocations: 1.666 MB / 480.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4192, allocations: 13.5 kB / 480.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.4192, allocations: 0 / 480.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.4192, allocations: 5.953 kB / 480.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/0.4256, allocations: 2.973 MB / 483.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.939e-05/0.4257, allocations: 10.09 kB / 483.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005153/0.4309, allocations: 0.6675 MB / 484.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003733/0.4346, allocations: 0.718 MB / 484.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.4348, allocations: 42.12 kB / 484.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/0.4489, allocations: 14.53 MB / 499.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.695e-05/0.4489, allocations: 12 kB / 499.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/0.4543, allocations: 2.261 MB / 0.4899 GB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.4546, allocations: 140.5 kB / 0.4901 GB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.4548, allocations: 39.92 kB / 0.4901 GB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/0.4556, allocations: 51.97 kB / 0.4901 GB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/0.456, allocations: 132.7 kB / 0.4903 GB, free: 8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.093e-05/0.4561, allocations: 40 kB / 0.4903 GB, free: 7.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.4563, allocations: 172.1 kB / 0.4905 GB, free: 7.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4563, allocations: 0 / 0.4905 GB, free: 7.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001571/0.4578, allocations: 280 kB / 0.4907 GB, free: 7.516 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 3 (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 (87): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * 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): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,19), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002479/0.4581, allocations: 143 kB / 0.4909 GB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008212/0.4663, allocations: 1.986 MB / 0.4928 GB, free: 5.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.4664, allocations: 4 kB / 0.4928 GB, free: 5.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00684/0.4732, allocations: 1.635 MB / 0.4944 GB, free: 3.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.4747, allocations: 193.1 kB / 0.4946 GB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.4784, allocations: 2.12 MB / 0.4967 GB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.479, allocations: 0.9248 MB / 0.4976 GB, free: 268 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006792/0.4797, allocations: 97.2 kB / 0.4977 GB, free: 168 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.48, allocations: 47.42 kB / 0.4977 GB, free: 120 kB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.48, allocations: 0 / 0.4977 GB, free: 120 kB / 366.1 MB Notification: Performance of Templates: time 0.02608/0.506, allocations: 15.16 MB / 0.5125 GB, free: 1.082 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_002.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_002.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_002.sim & ./AES_AES.Devel_test_models.Test_air_circ_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1)