Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_003.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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_003") translateModel(AES.Devel_test_models.Test_air_circ_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008084/0.0008082, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006982/0.006983, allocations: 170.8 kB / 16.27 MB, free: 6.656 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2253/0.2253, allocations: 22.35 MB / 313.8 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 8.281 kB / 382.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3321, allocations: 55.98 MB / 438.6 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.002314/0.3345, allocations: 3.152 MB / 441.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3356, allocations: 1.096 MB / 442.8 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3357, allocations: 2.781 kB / 442.8 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.017e-05/0.3358, allocations: 45.73 kB / 442.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.3361, allocations: 165 kB / 443 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.3363, allocations: 179 kB / 443.2 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.3368, allocations: 0.7904 MB / 444 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003832/0.3371, allocations: 389.5 kB / 444.4 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.3374, allocations: 303.7 kB / 444.7 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.3378, allocations: 370.1 kB / 445 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.311e-05/0.3379, allocations: 40.91 kB / 445.1 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.685e-05/0.338, allocations: 43.75 kB / 445.1 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-05/0.3381, allocations: 130.5 kB / 445.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.3383, allocations: 349 kB / 445.6 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004971/0.3388, allocations: 0.7744 MB / 446.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3388, allocations: 4 kB / 446.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3388, allocations: 0 / 446.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.3388, allocations: 0 / 446.4 MB, free: 34.59 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.0014/0.3402, allocations: 0.7648 MB / 447.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3403, allocations: 12.66 kB / 447.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.3404, allocations: 63.75 kB / 447.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3405, allocations: 225.2 kB / 447.4 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.3406, allocations: 48.44 kB / 447.5 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.3407, allocations: 65.34 kB / 447.5 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008925/0.3416, allocations: 0.608 MB / 448.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3416, allocations: 4 kB / 448.1 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.3417, allocations: 26.06 kB / 448.2 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3417, allocations: 15.69 kB / 448.2 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.3426, allocations: 0.6028 MB / 448.8 MB, free: 33.25 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 293.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 293.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.3452, allocations: 1.947 MB / 450.7 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.3465, allocations: 0.6886 MB / 451.4 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.3469, allocations: 313.2 kB / 451.7 MB, free: 31.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.347, allocations: 18.86 kB / 451.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.347, allocations: 39.22 kB / 451.8 MB, free: 31.61 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004224/0.3475, allocations: 105.1 kB / 451.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.123e-06/0.3475, allocations: 0 / 451.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=90): time 0.006732/0.3542, allocations: 2.936 MB / 454.8 MB, free: 30.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.3542, allocations: 61.69 kB / 454.9 MB, free: 30.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.3544, allocations: 204.9 kB / 455.1 MB, free: 29.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.3545, allocations: 36.39 kB / 455.1 MB, free: 29.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.3546, allocations: 195.9 kB / 455.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.3547, allocations: 311 kB / 455.6 MB, free: 29.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.3548, allocations: 64.78 kB / 455.7 MB, free: 29.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.973e-05/0.3549, allocations: 352.6 kB / 456 MB, free: 29.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.3553, allocations: 280.3 kB / 456.3 MB, free: 28.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.3558, allocations: 339 kB / 456.6 MB, free: 28.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01564/0.3715, allocations: 2.879 MB / 459.5 MB, free: 28.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3715, allocations: 7.938 kB / 459.5 MB, free: 28.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002421/0.3739, allocations: 0.94 MB / 460.5 MB, free: 27.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.374, allocations: 6.375 kB / 460.5 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.374, allocations: 1.188 kB / 460.5 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.3752, allocations: 207 kB / 460.7 MB, free: 27.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004087/0.3793, allocations: 0.5439 MB / 461.2 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007209/0.3865, allocations: 9.875 MB / 471.1 MB, free: 17.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.3872, allocations: 37.97 kB / 471.1 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.3873, allocations: 27.67 kB / 471.1 MB, free: 17.75 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = V.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 (87): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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 {(3,4,77.8%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004069/0.3877, allocations: 219.9 kB / 471.4 MB, free: 17.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.3878, allocations: 43.75 kB / 471.4 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/0.3907, allocations: 1.181 MB / 472.6 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.3907, allocations: 10 kB / 472.6 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3907, allocations: 1.938 kB / 472.6 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.3908, allocations: 8.625 kB / 472.6 MB, free: 17.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003885/0.3946, allocations: 2.136 MB / 474.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.3947, allocations: 6.812 kB / 474.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003674/0.3984, allocations: 0.496 MB / 475.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/0.4006, allocations: 363.1 kB / 475.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.624e-05/0.4007, allocations: 34.66 kB / 475.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007299/0.4081, allocations: 10.12 MB / 485.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/0.4081, allocations: 11.94 kB / 485.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/0.4113, allocations: 1.667 MB / 487.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.4115, allocations: 135.9 kB / 487.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.272e-05/0.4116, allocations: 26.11 kB / 487.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.4122, allocations: 42.67 kB / 487.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.4124, allocations: 100.9 kB / 487.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/0.4125, allocations: 36.47 kB / 487.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.4126, allocations: 149.9 kB / 487.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4126, allocations: 0 / 487.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009523/0.4136, allocations: 195.7 kB / 488.1 MB, free: 4.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,V.p,V.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 (86): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(3,4,77.8%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/0.4138, allocations: 133 kB / 488.2 MB, free: 4.254 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.0053/0.4191, allocations: 1.519 MB / 489.8 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4191, allocations: 1 kB / 489.8 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004341/0.4235, allocations: 1.219 MB / 491 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4245, allocations: 147.8 kB / 491.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.4271, allocations: 1.817 MB / 492.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.4276, allocations: 0.8683 MB / 493.8 MB, free: 1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006773/0.4283, allocations: 83.59 kB / 493.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.4286, allocations: 51.52 kB / 493.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4286, allocations: 0 / 493.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Templates: time 0.01961/0.4482, allocations: 10.17 MB / 0.4923 GB, free: 8.93 MB / 366.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_003.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_003.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_003.sim & ./AES_AES.Devel_test_models.Test_air_circ_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)