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.0009195/0.0009196, allocations: 97.78 kB / 16.02 MB, free: 76 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.001018/0.001018, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.304/1.304, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1897/0.1897, allocations: 22.36 MB / 314.4 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002862, allocations: 8 kB / 383.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2332, allocations: 55.97 MB / 439.2 MB, free: 39.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.002549/0.2358, allocations: 3.648 MB / 442.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2371, allocations: 1.265 MB / 444.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.2373, allocations: 2.562 kB / 444.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.23e-05/0.2374, allocations: 60.61 kB / 444.2 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.2378, allocations: 201.2 kB / 444.4 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.238, allocations: 250.4 kB / 444.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005613/0.2386, allocations: 1.027 MB / 445.7 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004008/0.239, allocations: 408.2 kB / 446.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.2393, allocations: 370.1 kB / 446.4 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.2397, allocations: 425.2 kB / 446.9 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/0.2398, allocations: 48.69 kB / 446.9 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.654e-05/0.2399, allocations: 49.12 kB / 446.9 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/0.24, allocations: 156.7 kB / 447.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.2402, allocations: 404.8 kB / 447.5 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.2406, allocations: 0.7388 MB / 448.2 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2406, allocations: 2.906 kB / 448.2 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2407, allocations: 3.938 kB / 448.2 MB, free: 34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.2407, allocations: 0 / 448.2 MB, free: 34 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.001668/0.2423, allocations: 0.8709 MB / 449.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2424, allocations: 14.78 kB / 449.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.2425, allocations: 70.28 kB / 449.2 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.2426, allocations: 243.4 kB / 449.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.2427, allocations: 64.78 kB / 449.5 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.2428, allocations: 80.19 kB / 449.6 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.2439, allocations: 0.7317 MB / 450.3 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.2439, allocations: 0 / 450.3 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/0.244, allocations: 33.75 kB / 450.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.244, allocations: 20.81 kB / 450.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.2451, allocations: 0.7484 MB / 451.1 MB, free: 32.48 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.002826/0.248, allocations: 2.247 MB / 453.4 MB, free: 31.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.25, allocations: 0.9851 MB / 454.3 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.2505, allocations: 366.1 kB / 454.7 MB, free: 30.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.845e-05/0.2505, allocations: 13.39 kB / 454.7 MB, free: 30.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.2506, allocations: 48.81 kB / 454.8 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003322/0.2509, allocations: 97.31 kB / 454.9 MB, free: 30.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 2.195e-06/0.2509, allocations: 0 / 454.9 MB, free: 30.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01416/0.2651, allocations: 4.211 MB / 459.1 MB, free: 28.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2651, allocations: 63.5 kB / 459.1 MB, free: 28.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.2653, allocations: 217.4 kB / 459.3 MB, free: 28.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.2654, allocations: 45.8 kB / 459.4 MB, free: 28.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.2655, allocations: 225.7 kB / 459.6 MB, free: 28.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.2657, allocations: 400.3 kB / 460 MB, free: 28.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2658, allocations: 78.64 kB / 460.1 MB, free: 28.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.2659, allocations: 358.8 kB / 460.4 MB, free: 27.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.2664, allocations: 330.6 kB / 460.7 MB, free: 27.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.2671, allocations: 397.3 kB / 461.1 MB, free: 27.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/0.2831, allocations: 2.895 MB / 464 MB, free: 26.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2831, allocations: 0 / 464 MB, free: 26.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0052/0.2883, allocations: 1.514 MB / 465.5 MB, free: 26.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2884, allocations: 8.359 kB / 465.5 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2884, allocations: 0 / 465.5 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004883/0.2933, allocations: 0.7842 MB / 466.3 MB, free: 26.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005732/0.299, allocations: 0.7235 MB / 467.1 MB, free: 26.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/0.314, allocations: 14.89 MB / 481.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.3148, allocations: 55.12 kB / 482 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.915e-05/0.3149, allocations: 32.86 kB / 482 MB, free: 12.43 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.0003775/0.3153, allocations: 231.5 kB / 482.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3154, allocations: 48.94 kB / 482.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004432/0.3198, allocations: 1.68 MB / 484 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.3198, allocations: 16.03 kB / 484 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.3199, allocations: 2.406 kB / 484 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.3199, allocations: 6.328 kB / 484 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005894/0.3258, allocations: 2.986 MB / 487 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.3258, allocations: 9.375 kB / 487 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005088/0.3309, allocations: 0.6727 MB / 487.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0039/0.3348, allocations: 0.7515 MB / 488.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.3349, allocations: 32.16 kB / 488.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/0.3482, allocations: 14.56 MB / 0.4912 GB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/0.3482, allocations: 12 kB / 0.4912 GB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005107/0.3534, allocations: 2.277 MB / 0.4935 GB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.3536, allocations: 140.5 kB / 0.4936 GB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.3537, allocations: 39.98 kB / 0.4936 GB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/0.3544, allocations: 51.89 kB / 0.4937 GB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.3547, allocations: 140.5 kB / 0.4938 GB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.3548, allocations: 43.98 kB / 0.4939 GB, free: 7.504 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.355, allocations: 176.1 kB / 0.494 GB, free: 7.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.355, allocations: 0 / 0.494 GB, free: 7.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001225/0.3562, allocations: 272 kB / 0.4943 GB, free: 7.062 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.000184/0.3564, allocations: 139 kB / 0.4944 GB, free: 6.918 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.007562/0.364, allocations: 1.971 MB / 0.4963 GB, free: 4.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.364, allocations: 0 / 0.4963 GB, free: 4.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006423/0.3704, allocations: 1.627 MB / 0.4979 GB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.3719, allocations: 185.3 kB / 0.4981 GB, free: 3.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.3751, allocations: 2.244 MB / 0.5003 GB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.3757, allocations: 0.9209 MB / 0.5012 GB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.3759, allocations: 55.42 kB / 0.5013 GB, free: 15.67 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.376, allocations: 0 / 0.5013 GB, free: 15.67 MB / 382.1 MB Notification: Performance of Templates: time 0.03272/0.4087, allocations: 31.84 MB / 0.5323 GB, free: 15.77 MB / 414.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)