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.001063/0.001063, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001061/0.001061, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09761/0.09761, allocations: 22.32 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.14 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08915, allocations: 54.96 MB / 492.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004155/0.09334, allocations: 3.549 MB / 496.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.09484, allocations: 1.107 MB / 497.3 MB, free: 52 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.09502, allocations: 8 kB / 497.4 MB, free: 44 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.09515, allocations: 67.39 kB / 497.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.09554, allocations: 182.4 kB / 497.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.09588, allocations: 199.7 kB / 497.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006349/0.09652, allocations: 0.8303 MB / 498.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000472/0.097, allocations: 353 kB / 499 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.09732, allocations: 311.1 kB / 499.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.09774, allocations: 330.8 kB / 499.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.09783, allocations: 72 kB / 499.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.09796, allocations: 76 kB / 499.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.09808, allocations: 151.6 kB / 499.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002961/0.09838, allocations: 330.6 kB / 0.4885 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005883/0.09897, allocations: 0.7475 MB / 0.4892 GB, free: 12.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.09899, allocations: 0 / 0.4892 GB, free: 12.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09899, allocations: 0 / 0.4892 GB, free: 12.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.09901, allocations: 0 / 0.4892 GB, free: 12.42 MB / 382.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.001554/0.1006, allocations: 0.8465 MB / 0.49 GB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.1006, allocations: 8.031 kB / 0.49 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.1007, allocations: 60.28 kB / 0.4901 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1009, allocations: 227.6 kB / 0.4903 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.1009, allocations: 49.67 kB / 0.4904 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.1011, allocations: 75.84 kB / 0.4904 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000917/0.102, allocations: 0.5375 MB / 0.491 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.102, allocations: 0 / 0.491 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.1021, allocations: 24 kB / 0.491 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.1021, allocations: 16 kB / 0.491 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008847/0.103, allocations: 0.497 MB / 0.4915 GB, free: 9.992 MB / 382.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.00283/0.1058, allocations: 2.335 MB / 0.4938 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.107, allocations: 0.5876 MB / 0.4943 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.1075, allocations: 238.5 kB / 0.4946 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.752e-05/0.1075, allocations: 20.48 kB / 0.4946 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1076, allocations: 39.12 kB / 0.4946 GB, free: 6.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 1.823e-06/0.1076, allocations: 0 / 0.4946 GB, free: 6.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.01286/0.1204, allocations: 3.941 MB / 0.4985 GB, free: 2.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.1205, allocations: 64.41 kB / 0.4985 GB, free: 2.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1206, allocations: 148 kB / 0.4987 GB, free: 2.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.1207, allocations: 37.7 kB / 0.4987 GB, free: 2.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.1208, allocations: 224.6 kB / 0.4989 GB, free: 1.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.121, allocations: 299.5 kB / 0.4992 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.1212, allocations: 118.7 kB / 0.4993 GB, free: 1.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1214, allocations: 342.8 kB / 0.4997 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.1219, allocations: 269.9 kB / 0.4999 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.1224, allocations: 340.6 kB / 0.5002 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1898/0.3122, allocations: 2.158 MB / 0.5023 GB, free: 21.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3123, allocations: 2.844 kB / 0.5024 GB, free: 21.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002886/0.3152, allocations: 1.089 MB / 0.5034 GB, free: 21.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3152, allocations: 7.875 kB / 0.5034 GB, free: 21.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3152, allocations: 0.5625 kB / 0.5034 GB, free: 21.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.3173, allocations: 412.2 kB / 0.5038 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/0.3206, allocations: 424.1 kB / 0.5042 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009504/0.3301, allocations: 14.14 MB / 0.518 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.3306, allocations: 24.47 kB / 0.5181 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.3307, allocations: 24.75 kB / 0.5181 GB, free: 9.031 MB / 382.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.0003215/0.331, allocations: 204.3 kB / 0.5183 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.3311, allocations: 36.36 kB / 0.5183 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.3346, allocations: 1.269 MB / 0.5195 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.3347, allocations: 8.25 kB / 0.5196 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3347, allocations: 2.75 kB / 0.5196 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3347, allocations: 4.359 kB / 0.5196 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.3388, allocations: 1.998 MB / 0.5215 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3388, allocations: 5.281 kB / 0.5215 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003001/0.3418, allocations: 382.8 kB / 0.5219 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004235/0.3461, allocations: 0.6878 MB / 0.5226 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/0.3462, allocations: 29.31 kB / 0.5226 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/0.3579, allocations: 14.68 MB / 0.5369 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.358, allocations: 1.031 kB / 0.5369 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004316/0.3623, allocations: 1.698 MB / 0.5386 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/0.3624, allocations: 112.9 kB / 0.5387 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.3625, allocations: 18.7 kB / 0.5387 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.363, allocations: 20.53 kB / 0.5387 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.3632, allocations: 87.52 kB / 0.5388 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/0.3633, allocations: 23.81 kB / 0.5388 GB, free: 10.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.818e-05/0.3634, allocations: 116.8 kB / 0.5389 GB, free: 10.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3634, allocations: 0 / 0.5389 GB, free: 10.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009615/0.3643, allocations: 216.4 kB / 0.5391 GB, free: 10.31 MB / 398.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.0001617/0.3645, allocations: 118.9 kB / 0.5393 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005237/0.3697, allocations: 1.8 MB / 0.541 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3698, allocations: 0 / 0.541 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00458/0.3744, allocations: 1.548 MB / 0.5425 GB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.3749, allocations: 101.2 kB / 0.5426 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.3774, allocations: 1.545 MB / 0.5441 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.3779, allocations: 0.8755 MB / 0.545 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.3781, allocations: 46.17 kB / 0.545 GB, free: 6.566 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3781, allocations: 1.219 kB / 0.545 GB, free: 6.566 MB / 398.1 MB Notification: Performance of Templates: time 0.02529/0.4034, allocations: 26.09 MB / 0.5705 GB, free: 1.418 MB / 414.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)