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.001344/0.001344, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001318/0.001317, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09999/0.09999, allocations: 22.33 MB / 313.4 MB, free: 8.98 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 62.14 kB / 381.5 MB, free: 41.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0786/0.07998, allocations: 54.97 MB / 436.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004569/0.08458, allocations: 3.544 MB / 440 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.08626, allocations: 1.11 MB / 441.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.08644, allocations: 4 kB / 441.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.08657, allocations: 67.28 kB / 441.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.08702, allocations: 186.4 kB / 441.3 MB, free: 8.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.08736, allocations: 211.7 kB / 441.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006682/0.08804, allocations: 0.8187 MB / 442.4 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.0885, allocations: 361 kB / 442.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.0889, allocations: 307.1 kB / 443 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.08926, allocations: 330.8 kB / 443.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.22e-05/0.08936, allocations: 72 kB / 443.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.08948, allocations: 72 kB / 443.5 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.08964, allocations: 147.6 kB / 443.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.08995, allocations: 338.6 kB / 443.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.09055, allocations: 0.7323 MB / 444.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.09057, allocations: 0 / 444.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.09058, allocations: 3.938 kB / 444.7 MB, free: 4.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.816e-05/0.09062, allocations: 0 / 444.7 MB, free: 4.773 MB / 318.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.001622/0.09225, allocations: 0.8271 MB / 445.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.09229, allocations: 8.031 kB / 445.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.0924, allocations: 60.28 kB / 445.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.09259, allocations: 227.6 kB / 445.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.09264, allocations: 53.69 kB / 445.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.09279, allocations: 71.84 kB / 445.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009793/0.09377, allocations: 0.5414 MB / 446.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.0938, allocations: 4 kB / 446.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.09386, allocations: 24 kB / 446.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.09388, allocations: 16 kB / 446.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009447/0.09483, allocations: 0.4931 MB / 447 MB, free: 2.359 MB / 318.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.003031/0.09787, allocations: 2.369 MB / 449.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.09912, allocations: 0.5837 MB / 450 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/0.09957, allocations: 238.5 kB / 450.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.09962, allocations: 16.48 kB / 450.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.09966, allocations: 47.11 kB / 450.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 1.983e-06/0.09967, allocations: 4 kB / 450.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.01305/0.1127, allocations: 3.923 MB / 454.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1128, allocations: 64.41 kB / 454.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1129, allocations: 148 kB / 454.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.113, allocations: 45.64 kB / 454.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1131, allocations: 216.7 kB / 454.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.1134, allocations: 295.7 kB / 454.9 MB, free: 10 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.1136, allocations: 114.7 kB / 455 MB, free: 9.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1137, allocations: 350.7 kB / 455.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.1143, allocations: 273.9 kB / 455.6 MB, free: 9.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.1148, allocations: 332.6 kB / 456 MB, free: 8.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.126, allocations: 2.172 MB / 458.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.126, allocations: 0 / 458.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003047/0.1291, allocations: 1.095 MB / 459.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1291, allocations: 4 kB / 459.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1291, allocations: 0 / 459.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.1313, allocations: 412.7 kB / 459.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/0.1346, allocations: 427.5 kB / 460.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.1475, allocations: 14.16 MB / 474.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.148, allocations: 20.03 kB / 474.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.1481, allocations: 23.98 kB / 474.3 MB, free: 5.312 MB / 350.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 = 100000.0 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 = 100000.0 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.0003249/0.1484, allocations: 209.5 kB / 474.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.1486, allocations: 35.53 kB / 474.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/0.1523, allocations: 1.272 MB / 475.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1523, allocations: 8 kB / 475.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1523, allocations: 4 kB / 475.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.1523, allocations: 3.984 kB / 475.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004367/0.1567, allocations: 2.006 MB / 477.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.1567, allocations: 4 kB / 477.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002933/0.1597, allocations: 375.7 kB / 478.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004183/0.1638, allocations: 0.6954 MB / 478.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.977e-05/0.1639, allocations: 23.98 kB / 478.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/0.1778, allocations: 14.66 MB / 493.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1779, allocations: 3.938 kB / 493.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/0.1821, allocations: 1.706 MB / 495.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/0.1822, allocations: 108.7 kB / 495.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/0.1823, allocations: 20.06 kB / 495.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.1828, allocations: 16 kB / 495.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.183, allocations: 96.75 kB / 495.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.1831, allocations: 24.23 kB / 495.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.116e-05/0.1831, allocations: 111.2 kB / 495.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1831, allocations: 0 / 495.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009497/0.1841, allocations: 216 kB / 495.8 MB, free: 14.27 MB / 382.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.0001615/0.1843, allocations: 127.2 kB / 496 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005623/0.1899, allocations: 1.824 MB / 497.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1899, allocations: 0 / 497.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004613/0.1945, allocations: 1.544 MB / 499.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.1952, allocations: 96.19 kB / 499.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.1978, allocations: 1.559 MB / 0.4892 GB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.1982, allocations: 0.876 MB / 0.4901 GB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.1984, allocations: 39.42 kB / 0.4901 GB, free: 7.98 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1984, allocations: 4 kB / 0.4901 GB, free: 7.977 MB / 382.1 MB Notification: Performance of Templates: time 0.1769/0.3753, allocations: 25.97 MB / 0.5155 GB, free: 81.6 MB / 398.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)