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.001107/0.001107, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 196.8 kB / 16.79 MB, free: 6.809 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 / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1869/0.1869, allocations: 22.36 MB / 313 MB, free: 12.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 380.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2236, allocations: 54.95 MB / 435.7 MB, free: 39.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.003284/0.227, allocations: 3.582 MB / 439.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2281, allocations: 1.1 MB / 440.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.2282, allocations: 2.812 kB / 440.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.2284, allocations: 45.58 kB / 440.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.2287, allocations: 170.7 kB / 440.6 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.229, allocations: 178.1 kB / 440.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.2294, allocations: 0.7736 MB / 441.6 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.2297, allocations: 306.4 kB / 441.9 MB, free: 35.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2299, allocations: 273.8 kB / 442.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.2302, allocations: 308.1 kB / 442.4 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.2303, allocations: 39.34 kB / 442.5 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.2304, allocations: 41.88 kB / 442.5 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.2305, allocations: 123.7 kB / 442.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.2307, allocations: 298.2 kB / 442.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.2309, allocations: 0.5569 MB / 443.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.231, allocations: 0 / 443.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.231, allocations: 0 / 443.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.231, allocations: 0 / 443.5 MB, free: 34.9 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.00134/0.2323, allocations: 0.8396 MB / 444.3 MB, free: 34.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.2324, allocations: 16.59 kB / 444.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.988e-05/0.2325, allocations: 57.19 kB / 444.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2326, allocations: 226.6 kB / 444.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.2326, allocations: 47.16 kB / 444.7 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.2327, allocations: 75.61 kB / 444.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008144/0.2335, allocations: 0.5399 MB / 445.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2336, allocations: 2.75 kB / 445.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.2336, allocations: 27.41 kB / 445.3 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2336, allocations: 15.78 kB / 445.3 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.2344, allocations: 0.4946 MB / 445.8 MB, free: 33.55 MB / 350.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.002261/0.2367, allocations: 2.328 MB / 448.1 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2378, allocations: 0.5894 MB / 448.7 MB, free: 31.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.2381, allocations: 240.4 kB / 449 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.2382, allocations: 12 kB / 449 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.2382, allocations: 41.31 kB / 449 MB, free: 31.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.753e-06/0.2382, allocations: 0 / 449 MB, free: 31.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.01161/0.2498, allocations: 3.936 MB / 453 MB, free: 29.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.2499, allocations: 64.66 kB / 453 MB, free: 29.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.25, allocations: 140.1 kB / 453.2 MB, free: 29.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.25, allocations: 42.11 kB / 453.2 MB, free: 29.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.2501, allocations: 229.4 kB / 453.4 MB, free: 29.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.2503, allocations: 300.2 kB / 453.7 MB, free: 28.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.2505, allocations: 113.6 kB / 453.8 MB, free: 28.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.2505, allocations: 346.9 kB / 454.2 MB, free: 28.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.251, allocations: 273 kB / 454.4 MB, free: 28.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.2514, allocations: 328.9 kB / 454.7 MB, free: 28.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.2619, allocations: 2.174 MB / 456.9 MB, free: 27.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2619, allocations: 0 / 456.9 MB, free: 27.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002829/0.2647, allocations: 1.089 MB / 458 MB, free: 27.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2648, allocations: 4.938 kB / 458 MB, free: 27.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2648, allocations: 5.438 kB / 458 MB, free: 27.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.2668, allocations: 403.4 kB / 458.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/0.27, allocations: 428.6 kB / 458.8 MB, free: 26.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009097/0.2791, allocations: 13.07 MB / 471.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/0.2797, allocations: 55.59 kB / 472 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.2798, allocations: 23.8 kB / 472 MB, free: 14.15 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V1.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V2.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 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.0003377/0.2802, allocations: 257.1 kB / 472.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/0.2802, allocations: 35.59 kB / 472.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.2838, allocations: 1.26 MB / 473.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2838, allocations: 13.91 kB / 473.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2839, allocations: 2.656 kB / 473.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.2839, allocations: 4.641 kB / 473.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004027/0.2879, allocations: 1.998 MB / 475.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2879, allocations: 1.953 kB / 475.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/0.2908, allocations: 385.3 kB / 475.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004056/0.2949, allocations: 0.6864 MB / 476.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.295, allocations: 25.05 kB / 476.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/0.3054, allocations: 13.56 MB / 490.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3054, allocations: 5.375 kB / 490.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003945/0.3094, allocations: 1.698 MB / 491.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3095, allocations: 109.1 kB / 492 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-05/0.3096, allocations: 18.27 kB / 492 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/0.3101, allocations: 42.45 kB / 492.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/0.3104, allocations: 84.3 kB / 492.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.3105, allocations: 28.02 kB / 492.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.481e-05/0.3106, allocations: 117.2 kB / 492.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3106, allocations: 3.938 kB / 492.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001028/0.3116, allocations: 230.7 kB / 492.5 MB, free: 14.03 MB / 366.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.0001561/0.3118, allocations: 114.2 kB / 492.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005087/0.3169, allocations: 1.804 MB / 494.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3169, allocations: 1.469 kB / 494.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004378/0.3213, allocations: 1.529 MB / 496 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.3219, allocations: 92.59 kB / 496 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.3247, allocations: 1.841 MB / 497.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.3251, allocations: 0.8787 MB / 498.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.3253, allocations: 39.45 kB / 498.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3253, allocations: 0 / 498.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of Templates: time 0.02509/0.3504, allocations: 25.96 MB / 0.5125 GB, free: 1.672 MB / 382.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)