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.001193/0.001193, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.00117/0.00117, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09312/0.09312, allocations: 22.32 MB / 313.5 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 63.62 kB / 382.2 MB, free: 41.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08517/0.08663, allocations: 54.96 MB / 437.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004473/0.09114, allocations: 3.551 MB / 440.8 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.09316, allocations: 1.107 MB / 441.9 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.09348, allocations: 4 kB / 441.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.09366, allocations: 67.28 kB / 441.9 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.09421, allocations: 182.4 kB / 442.1 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.09463, allocations: 203.7 kB / 442.3 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008527/0.09549, allocations: 0.8304 MB / 443.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000527/0.09603, allocations: 364.9 kB / 443.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.09647, allocations: 303.2 kB / 443.8 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004395/0.09691, allocations: 330.7 kB / 444.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.09705, allocations: 72 kB / 444.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.09719, allocations: 72 kB / 444.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.09732, allocations: 151.6 kB / 444.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.09764, allocations: 334.6 kB / 444.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.09826, allocations: 0.7476 MB / 445.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.09827, allocations: 0 / 445.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09828, allocations: 0 / 445.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.09831, allocations: 0 / 445.5 MB, free: 3.906 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.001549/0.09986, allocations: 0.831 MB / 446.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.0999, allocations: 8.031 kB / 446.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1, allocations: 64.28 kB / 446.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1002, allocations: 229.8 kB / 446.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.1003, allocations: 45.69 kB / 446.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.1004, allocations: 75.78 kB / 446.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008798/0.1012, allocations: 0.5453 MB / 447.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1013, allocations: 0 / 447.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.1013, allocations: 24 kB / 447.3 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.1013, allocations: 16 kB / 447.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.1022, allocations: 0.4892 MB / 447.8 MB, free: 1.492 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.002795/0.105, allocations: 2.36 MB / 450.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1061, allocations: 0.5876 MB / 450.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.1065, allocations: 238.5 kB / 451 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.467e-05/0.1066, allocations: 12.5 kB / 451 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1066, allocations: 43.06 kB / 451 MB, free: 14.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 2.024e-06/0.1066, allocations: 4 kB / 451 MB, free: 14.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.01194/0.1185, allocations: 3.928 MB / 455 MB, free: 9.938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.1186, allocations: 68.39 kB / 455 MB, free: 9.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1187, allocations: 144 kB / 455.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.1188, allocations: 41.64 kB / 455.2 MB, free: 9.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1189, allocations: 228.7 kB / 455.4 MB, free: 9.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.1192, allocations: 295.6 kB / 455.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.1194, allocations: 118.7 kB / 455.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1195, allocations: 346.7 kB / 456.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.12, allocations: 273.8 kB / 456.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.1205, allocations: 332.6 kB / 456.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.1309, allocations: 2.166 MB / 458.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1309, allocations: 0 / 458.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002898/0.1338, allocations: 1.095 MB / 460 MB, free: 4.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1339, allocations: 4 kB / 460 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1339, allocations: 4 kB / 460 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.1359, allocations: 400.7 kB / 460.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00328/0.1392, allocations: 435.5 kB / 460.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.1521, allocations: 14.14 MB / 475 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.1528, allocations: 20.03 kB / 475 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.1529, allocations: 24 kB / 475 MB, free: 4.469 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 = 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.0004129/0.1533, allocations: 204.3 kB / 475.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1534, allocations: 39.52 kB / 475.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003436/0.1569, allocations: 1.26 MB / 476.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.1569, allocations: 8 kB / 476.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.1569, allocations: 4 kB / 476.5 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1569, allocations: 7.922 kB / 476.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004079/0.161, allocations: 2.014 MB / 478.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.161, allocations: 0 / 478.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002925/0.1639, allocations: 379.7 kB / 478.9 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/0.168, allocations: 0.6798 MB / 479.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.532e-05/0.1681, allocations: 23.98 kB / 479.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.1811, allocations: 14.67 MB / 494.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1811, allocations: 0 / 494.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/0.1851, allocations: 1.706 MB / 496 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/0.1852, allocations: 108.7 kB / 496.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.332e-05/0.1853, allocations: 20.06 kB / 496.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.1857, allocations: 19.98 kB / 496.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.186, allocations: 84.81 kB / 496.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.186, allocations: 27.98 kB / 496.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.662e-05/0.1861, allocations: 103.3 kB / 496.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.1861, allocations: 8 kB / 496.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008913/0.187, allocations: 219.9 kB / 496.6 MB, free: 13.44 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.0001582/0.1872, allocations: 115.2 kB / 496.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005162/0.1924, allocations: 1.832 MB / 498.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1924, allocations: 0 / 498.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004515/0.1969, allocations: 1.545 MB / 0.4884 GB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.1975, allocations: 96.22 kB / 0.4885 GB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.1998, allocations: 1.518 MB / 0.4899 GB, free: 8.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.2003, allocations: 0.8761 MB / 0.4908 GB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002759/0.2006, allocations: 60.14 kB / 0.4909 GB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2007, allocations: 35.44 kB / 0.4909 GB, free: 7.145 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2007, allocations: 0 / 0.4909 GB, free: 7.145 MB / 382.1 MB Notification: Performance of Templates: time 0.01685/0.2176, allocations: 11.29 MB / 0.5019 GB, free: 11.9 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 -s cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1)