Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.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_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_004") translateModel(AES.Devel_test_models.Test_air_circ_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008629/0.008629, allocations: 95.42 kB / 15.73 MB, free: 6.039 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.001701/0.001701, allocations: 204.7 kB / 16.68 MB, free: 5.969 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2212/0.2212, allocations: 22.36 MB / 312.9 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 65.81 kB / 437.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1262, allocations: 54.97 MB / 492.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004443/0.1306, allocations: 3.552 MB / 495.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1327, allocations: 1.114 MB / 496.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.1331, allocations: 0 / 496.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.1333, allocations: 63.34 kB / 496.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005806/0.1339, allocations: 182.4 kB / 497 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.1343, allocations: 211.7 kB / 497.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008741/0.1352, allocations: 0.8226 MB / 498 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.1358, allocations: 364.9 kB / 498.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.1362, allocations: 307.1 kB / 498.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004695/0.1367, allocations: 326.8 kB / 499 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.1369, allocations: 72 kB / 499 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.1371, allocations: 75.94 kB / 499.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.1372, allocations: 151.6 kB / 499.3 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.1376, allocations: 338.6 kB / 499.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006721/0.1383, allocations: 0.7433 MB / 0.4886 GB, free: 8.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1383, allocations: 0 / 0.4886 GB, free: 8.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1383, allocations: 0 / 0.4886 GB, free: 8.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.1383, allocations: 4 kB / 0.4886 GB, free: 8.883 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001779/0.1401, allocations: 0.8419 MB / 0.4894 GB, free: 7.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1401, allocations: 8.031 kB / 0.4894 GB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1403, allocations: 60.56 kB / 0.4895 GB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1405, allocations: 234.1 kB / 0.4897 GB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.061e-05/0.1406, allocations: 49.69 kB / 0.4898 GB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.1407, allocations: 67.94 kB / 0.4898 GB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1417, allocations: 0.553 MB / 0.4904 GB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1417, allocations: 0 / 0.4904 GB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.1418, allocations: 28 kB / 0.4904 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.1418, allocations: 16 kB / 0.4904 GB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000916/0.1427, allocations: 0.4892 MB / 0.4909 GB, free: 6.449 MB / 366.1 MB Warning: Alias set with conflicting start values * Candidate: V1.T(start = V1.Tstart = 293.15, confidence number = 2) * Candidate: V1.air.T(start = 288.15, confidence number = 8) * Candidate: V1.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.hotPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Th(start = 288.15, confidence number = 7) => Select value from V1.T(start = V1.Tstart = 293.15) for variable: V1.T Warning: Alias set with conflicting start values * Candidate: V2.T(start = V2.Tstart = 293.15, confidence number = 2) * Candidate: V2.air.T(start = 288.15, confidence number = 8) * Candidate: V2.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.coldPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Tc(start = 288.15, confidence number = 7) => Select value from V2.T(start = V2.Tstart = 293.15) for variable: V2.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003152/0.1459, allocations: 2.35 MB / 0.4932 GB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.1471, allocations: 0.576 MB / 0.4937 GB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.1475, allocations: 238.5 kB / 0.494 GB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.285e-05/0.1476, allocations: 20.41 kB / 0.494 GB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1476, allocations: 39.12 kB / 0.494 GB, free: 2.984 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.144e-06/0.1476, allocations: 0 / 0.494 GB, free: 2.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.01248/0.1601, allocations: 3.961 MB / 0.4979 GB, free: 14.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1602, allocations: 60.41 kB / 0.498 GB, free: 14.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1604, allocations: 147.9 kB / 0.4981 GB, free: 14.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.1604, allocations: 37.7 kB / 0.4981 GB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1605, allocations: 225.2 kB / 0.4984 GB, free: 14.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.1608, allocations: 317.2 kB / 0.4987 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.161, allocations: 114.7 kB / 0.4988 GB, free: 13.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1611, allocations: 346.7 kB / 0.4991 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.1616, allocations: 273.9 kB / 0.4994 GB, free: 13.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.1621, allocations: 332.6 kB / 0.4997 GB, free: 13.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/0.1724, allocations: 2.166 MB / 0.5018 GB, free: 10.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1724, allocations: 0 / 0.5018 GB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002922/0.1753, allocations: 1.099 MB / 0.5029 GB, free: 9.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1754, allocations: 4 kB / 0.5029 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1754, allocations: 4 kB / 0.5029 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.1774, allocations: 404.7 kB / 0.5033 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/0.1803, allocations: 439.4 kB / 0.5037 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.1935, allocations: 14.14 MB / 0.5175 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/0.1941, allocations: 24.02 kB / 0.5175 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.1943, allocations: 28.19 kB / 0.5175 GB, free: 9.395 MB / 398.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.p:VARIABLE(min = 0.0 start = V1.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = 0.0 start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = 0.0 start = V2.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = 0.0 start = V2.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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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): 5 systems {(2,5,100.0%), (2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004965/0.1948, allocations: 204.5 kB / 0.5177 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.1949, allocations: 35.81 kB / 0.5178 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.1985, allocations: 1.264 MB / 0.519 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.1985, allocations: 12 kB / 0.519 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/0.1985, allocations: 4 kB / 0.519 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.1986, allocations: 7.969 kB / 0.519 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/0.2031, allocations: 1.998 MB / 0.521 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2031, allocations: 0 / 0.521 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/0.2057, allocations: 379.7 kB / 0.5213 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003748/0.2095, allocations: 0.6918 MB / 0.522 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.854e-05/0.2096, allocations: 23.98 kB / 0.522 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/0.2229, allocations: 14.67 MB / 0.5364 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.2229, allocations: 4 kB / 0.5364 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003948/0.2269, allocations: 1.711 MB / 0.538 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.227, allocations: 108.9 kB / 0.5381 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.2271, allocations: 16.06 kB / 0.5382 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.2275, allocations: 24 kB / 0.5382 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.2278, allocations: 84.81 kB / 0.5383 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.2279, allocations: 27.98 kB / 0.5383 GB, free: 2.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.051e-05/0.228, allocations: 108.6 kB / 0.5384 GB, free: 2.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.228, allocations: 0 / 0.5384 GB, free: 2.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001001/0.229, allocations: 216 kB / 0.5386 GB, free: 2.363 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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%), (2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001908/0.2292, allocations: 123.4 kB / 0.5387 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005179/0.2344, allocations: 1.828 MB / 0.5405 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2344, allocations: 0 / 0.5405 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004286/0.2387, allocations: 1.564 MB / 0.542 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.2394, allocations: 106 kB / 0.5421 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.2422, allocations: 1.529 MB / 0.5436 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.2428, allocations: 0.8838 MB / 0.5445 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003163/0.2432, allocations: 56.16 kB / 0.5445 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.2433, allocations: 39.42 kB / 0.5446 GB, free: 12.02 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2433, allocations: 0 / 0.5446 GB, free: 12.02 MB / 430.1 MB Notification: Performance of Templates: time 0.02079/0.2641, allocations: 11.44 MB / 0.5557 GB, free: 0.625 MB / 430.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_004.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & ./AES_AES.Devel_test_models.Test_air_circ_004 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1)