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.0008762/0.0008762, allocations: 97.95 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.006171/0.006171, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.234/0.234, allocations: 22.34 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 15.98 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2974, allocations: 55.97 MB / 438.6 MB, free: 39.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.003324/0.3008, allocations: 3.655 MB / 442.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3027, allocations: 1.26 MB / 443.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.3029, allocations: 5.719 kB / 443.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.303, allocations: 53.3 kB / 443.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.3035, allocations: 194.6 kB / 443.7 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.3038, allocations: 256.5 kB / 444 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.3045, allocations: 1.024 MB / 445 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004488/0.305, allocations: 413.6 kB / 445.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.3053, allocations: 366.2 kB / 445.8 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.3057, allocations: 422.2 kB / 446.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.618e-05/0.3058, allocations: 48.53 kB / 446.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-05/0.3059, allocations: 48.38 kB / 446.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/0.306, allocations: 152.6 kB / 446.4 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.3062, allocations: 409.4 kB / 446.8 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.3068, allocations: 0.9425 MB / 447.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3068, allocations: 3.281 kB / 447.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3068, allocations: 3.938 kB / 447.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3069, allocations: 4 kB / 447.8 MB, free: 34.1 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.001687/0.3086, allocations: 0.8688 MB / 448.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3086, allocations: 12.94 kB / 448.7 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.3087, allocations: 71.19 kB / 448.7 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.3089, allocations: 244.9 kB / 449 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.309, allocations: 63.97 kB / 449 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.3091, allocations: 81.94 kB / 449.1 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.3102, allocations: 0.7295 MB / 449.8 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3102, allocations: 0 / 449.8 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.3103, allocations: 38.09 kB / 449.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.3103, allocations: 20.59 kB / 449.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.3114, allocations: 0.7469 MB / 450.6 MB, free: 32.58 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.002998/0.3144, allocations: 2.242 MB / 452.9 MB, free: 31.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.3164, allocations: 0.9858 MB / 453.9 MB, free: 30.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.3169, allocations: 372.5 kB / 454.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/0.3169, allocations: 20.61 kB / 454.3 MB, free: 30.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.317, allocations: 45.31 kB / 454.3 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003454/0.3173, allocations: 98.02 kB / 454.4 MB, free: 30.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 2.114e-06/0.3173, allocations: 0 / 454.4 MB, free: 30.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01381/0.3311, allocations: 4.217 MB / 458.6 MB, free: 29.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3312, allocations: 63.59 kB / 458.7 MB, free: 28.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.3314, allocations: 218 kB / 458.9 MB, free: 28.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.3315, allocations: 41.39 kB / 458.9 MB, free: 28.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3316, allocations: 221.4 kB / 459.1 MB, free: 28.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.3318, allocations: 398.4 kB / 459.5 MB, free: 28.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3319, allocations: 77.66 kB / 459.6 MB, free: 28.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.332, allocations: 357.7 kB / 460 MB, free: 27.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.3326, allocations: 327.2 kB / 460.3 MB, free: 27.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.3332, allocations: 397.1 kB / 460.7 MB, free: 27.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/0.3487, allocations: 2.906 MB / 463.6 MB, free: 26.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3487, allocations: 0 / 463.6 MB, free: 26.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.005166/0.3539, allocations: 1.506 MB / 465.1 MB, free: 26.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.3539, allocations: 5.516 kB / 465.1 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.354, allocations: 1.188 kB / 465.1 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004821/0.3588, allocations: 0.7875 MB / 465.9 MB, free: 26.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005867/0.3647, allocations: 0.7285 MB / 466.6 MB, free: 26.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/0.3813, allocations: 14.89 MB / 481.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3824, allocations: 51.16 kB / 481.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/0.3825, allocations: 32.97 kB / 481.6 MB, free: 12.53 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.0005301/0.3831, allocations: 235.6 kB / 481.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3832, allocations: 49.86 kB / 481.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/0.3879, allocations: 1.671 MB / 483.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.3879, allocations: 11.72 kB / 483.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.388, allocations: 1.875 kB / 483.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.388, allocations: 9.703 kB / 483.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006526/0.3945, allocations: 2.984 MB / 486.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.3945, allocations: 8.75 kB / 486.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004876/0.3994, allocations: 0.6754 MB / 487.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003702/0.4031, allocations: 0.7551 MB / 488 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.4033, allocations: 36.36 kB / 488 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.4165, allocations: 14.55 MB / 0.4908 GB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.4166, allocations: 11.94 kB / 0.4908 GB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/0.4217, allocations: 2.277 MB / 0.493 GB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.4221, allocations: 144.6 kB / 0.4932 GB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.4222, allocations: 39.92 kB / 0.4932 GB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/0.4229, allocations: 51.89 kB / 0.4932 GB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/0.4233, allocations: 136.6 kB / 0.4934 GB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.4234, allocations: 44 kB / 0.4934 GB, free: 7.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.4236, allocations: 172.1 kB / 0.4936 GB, free: 7.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.774e-06/0.4236, allocations: 0 / 0.4936 GB, free: 7.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001452/0.4251, allocations: 275.9 kB / 0.4938 GB, free: 7.023 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.0002648/0.4253, allocations: 139 kB / 0.494 GB, free: 6.879 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.007856/0.4332, allocations: 2.006 MB / 0.4959 GB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.4332, allocations: 0 / 0.4959 GB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006639/0.4399, allocations: 1.635 MB / 0.4975 GB, free: 3.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.4414, allocations: 193.1 kB / 0.4977 GB, free: 2.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.4447, allocations: 2.22 MB / 0.4999 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.4454, allocations: 0.9209 MB / 0.5008 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000614/0.446, allocations: 89.2 kB / 0.5009 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.4462, allocations: 43.44 kB / 0.5009 GB, free: 15.53 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4462, allocations: 4 kB / 0.5009 GB, free: 15.52 MB / 382.1 MB Notification: Performance of Templates: time 0.02672/0.4729, allocations: 15.03 MB / 0.5156 GB, free: 0.6211 MB / 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)