Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_002.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") translateModel(AES.Devel_test_models.Test_air_circ_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001017, allocations: 98.27 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.007253/0.007253, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.222/0.222, allocations: 22.34 MB / 313.8 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003366, allocations: 8 kB / 382.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.321, allocations: 55.98 MB / 438.6 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.002807/0.3239, allocations: 3.646 MB / 442.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3254, allocations: 1.258 MB / 443.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.3256, allocations: 5.438 kB / 443.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.811e-05/0.3257, allocations: 53.38 kB / 443.5 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.3262, allocations: 200.5 kB / 443.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.3265, allocations: 253.5 kB / 444 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007007/0.3272, allocations: 1.025 MB / 445 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/0.3277, allocations: 413.3 kB / 445.4 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.3281, allocations: 358.5 kB / 445.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.3285, allocations: 426.3 kB / 446.2 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-05/0.3286, allocations: 50.78 kB / 446.2 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.955e-05/0.3287, allocations: 47.31 kB / 446.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.3288, allocations: 157 kB / 446.4 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.3291, allocations: 408.3 kB / 446.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.3296, allocations: 0.946 MB / 447.8 MB, free: 33.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3296, allocations: 0 / 447.8 MB, free: 33.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3296, allocations: 0 / 447.8 MB, free: 33.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3296, allocations: 0 / 447.8 MB, free: 33.77 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001706/0.3314, allocations: 0.8717 MB / 448.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3314, allocations: 14.62 kB / 448.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.3315, allocations: 75.16 kB / 448.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.3317, allocations: 240.7 kB / 449 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.3318, allocations: 63.84 kB / 449 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.3319, allocations: 81.25 kB / 449.1 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.333, allocations: 0.7341 MB / 449.8 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.333, allocations: 3.984 kB / 449.8 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.996e-05/0.3331, allocations: 37.47 kB / 449.9 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.3331, allocations: 21.53 kB / 449.9 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.3343, allocations: 0.7521 MB / 450.6 MB, free: 32.23 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.003231/0.3375, allocations: 2.231 MB / 452.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.3396, allocations: 0.9861 MB / 453.9 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005186/0.3401, allocations: 372.3 kB / 454.2 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.496e-05/0.3402, allocations: 14.67 kB / 454.2 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.3402, allocations: 52.06 kB / 454.3 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004072/0.3407, allocations: 97.64 kB / 454.4 MB, free: 30.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 3.567e-06/0.3407, allocations: 0 / 454.4 MB, free: 30.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01486/0.3555, allocations: 4.212 MB / 458.6 MB, free: 28.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3556, allocations: 63.75 kB / 458.7 MB, free: 28.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.3559, allocations: 215.1 kB / 458.9 MB, free: 28.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.174e-05/0.356, allocations: 50.64 kB / 458.9 MB, free: 28.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3561, allocations: 224.7 kB / 459.1 MB, free: 28.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.3564, allocations: 391.7 kB / 459.5 MB, free: 27.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3565, allocations: 81.59 kB / 459.6 MB, free: 27.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.3566, allocations: 357 kB / 460 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/0.3571, allocations: 322.5 kB / 460.3 MB, free: 27.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.3577, allocations: 396 kB / 460.7 MB, free: 27.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/0.3738, allocations: 2.91 MB / 463.6 MB, free: 26.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3739, allocations: 0 / 463.6 MB, free: 26.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.005423/0.3793, allocations: 1.504 MB / 465.1 MB, free: 25.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3794, allocations: 5.875 kB / 465.1 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3794, allocations: 4.594 kB / 465.1 MB, free: 25.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004771/0.3842, allocations: 0.7767 MB / 465.9 MB, free: 25.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005645/0.3898, allocations: 0.7309 MB / 466.6 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/0.4065, allocations: 14.9 MB / 481.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009156/0.4074, allocations: 53.5 kB / 481.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.4076, allocations: 33.84 kB / 481.6 MB, free: 12.18 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 (94): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004789/0.4081, allocations: 235.2 kB / 481.8 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.4083, allocations: 49.97 kB / 481.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/0.413, allocations: 1.669 MB / 483.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.4131, allocations: 12.88 kB / 483.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.4131, allocations: 5 kB / 483.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.4131, allocations: 5.953 kB / 483.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006751/0.4199, allocations: 2.987 MB / 486.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/0.4199, allocations: 9.594 kB / 486.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005191/0.4251, allocations: 0.6715 MB / 487.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003994/0.4291, allocations: 0.7525 MB / 488 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.4293, allocations: 32.69 kB / 488 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.4434, allocations: 14.57 MB / 0.4908 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.495e-05/0.4435, allocations: 15.94 kB / 0.4908 GB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.4492, allocations: 2.269 MB / 0.493 GB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.4496, allocations: 140.5 kB / 0.4932 GB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.4497, allocations: 39.92 kB / 0.4932 GB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008559/0.4506, allocations: 51.89 kB / 0.4932 GB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005191/0.4511, allocations: 132.6 kB / 0.4934 GB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.4513, allocations: 47.92 kB / 0.4934 GB, free: 7.328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.4515, allocations: 172.1 kB / 0.4936 GB, free: 7.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4515, allocations: 0 / 0.4936 GB, free: 7.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001766/0.4533, allocations: 272 kB / 0.4938 GB, free: 6.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 3 (V.Ma,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 (87): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 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): 1 system {(3,4,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,19), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002931/0.4536, allocations: 139 kB / 0.494 GB, free: 6.746 MB / 366.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.008828/0.4624, allocations: 2.006 MB / 0.4959 GB, free: 4.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.4624, allocations: 0 / 0.4959 GB, free: 4.695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006781/0.4692, allocations: 1.65 MB / 0.4975 GB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.4711, allocations: 185.1 kB / 0.4977 GB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.4753, allocations: 2.209 MB / 0.4999 GB, free: 488 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009288/0.4762, allocations: 0.9287 MB / 0.5008 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007222/0.477, allocations: 89.2 kB / 0.5009 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.4772, allocations: 51.42 kB / 0.5009 GB, free: 15.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4772, allocations: 0 / 0.5009 GB, free: 15.38 MB / 382.1 MB Notification: Performance of Templates: time 0.02963/0.5068, allocations: 15.03 MB / 0.5156 GB, free: 496 kB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_002.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_002.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_002.sim & ./AES_AES.Devel_test_models.Test_air_circ_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1)