Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_001.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_001") translateModel(AES.Devel_test_models.Test_air_circ_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.009155/0.009155, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.546/1.546, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2242/0.2242, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 12 kB / 382.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3535, allocations: 55.99 MB / 438.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.002688/0.3562, allocations: 2.933 MB / 441.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3577, allocations: 1.05 MB / 442.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.3578, allocations: 2.531 kB / 442.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.08e-05/0.3579, allocations: 47.75 kB / 442.6 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.3583, allocations: 132.8 kB / 442.7 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.3585, allocations: 173.5 kB / 442.9 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.359, allocations: 0.7298 MB / 443.6 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.3594, allocations: 261.9 kB / 443.9 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.3596, allocations: 242.3 kB / 444.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.3599, allocations: 266.1 kB / 444.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.36, allocations: 30.69 kB / 444.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.3601, allocations: 31.44 kB / 444.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.12e-05/0.3601, allocations: 100.1 kB / 444.5 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.3604, allocations: 293.1 kB / 444.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.3608, allocations: 0.6358 MB / 445.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3608, allocations: 0 / 445.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.3608, allocations: 2.875 kB / 445.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.3608, allocations: 0 / 445.5 MB, free: 35.11 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001276/0.3621, allocations: 0.6916 MB / 446.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3622, allocations: 16.94 kB / 446.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.3623, allocations: 47.5 kB / 446.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.3625, allocations: 226 kB / 446.4 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.3625, allocations: 45.97 kB / 446.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.3626, allocations: 54.16 kB / 446.5 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007616/0.3634, allocations: 0.4897 MB / 447 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3634, allocations: 0 / 447 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.3635, allocations: 25.22 kB / 447.1 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.3635, allocations: 14.41 kB / 447.1 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.3642, allocations: 492.1 kB / 447.6 MB, free: 33.89 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.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 = 291.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.3664, allocations: 1.634 MB / 449.2 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.3672, allocations: 0.5124 MB / 449.7 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.3675, allocations: 217.4 kB / 449.9 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.3676, allocations: 14.89 kB / 449.9 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.3676, allocations: 41.97 kB / 450 MB, free: 32.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 2.024e-06/0.3676, allocations: 3.938 kB / 450 MB, free: 32.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.005929/0.3735, allocations: 2.435 MB / 452.4 MB, free: 31.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.3736, allocations: 59.94 kB / 452.5 MB, free: 31.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.3738, allocations: 193.5 kB / 452.7 MB, free: 31.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.3738, allocations: 40.33 kB / 452.7 MB, free: 30.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.3739, allocations: 185.7 kB / 452.9 MB, free: 30.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.3741, allocations: 264.4 kB / 453.1 MB, free: 30.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/0.3742, allocations: 60.19 kB / 453.2 MB, free: 30.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.3743, allocations: 342.2 kB / 453.5 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.3746, allocations: 210.7 kB / 453.7 MB, free: 30.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.375, allocations: 271.7 kB / 454 MB, free: 30.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008277/0.3833, allocations: 1.687 MB / 455.7 MB, free: 29.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3833, allocations: 1.25 kB / 455.7 MB, free: 29.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001804/0.3851, allocations: 0.7861 MB / 456.5 MB, free: 29.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.3852, allocations: 5.188 kB / 456.5 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3852, allocations: 0.9688 kB / 456.5 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.3864, allocations: 198.4 kB / 456.7 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/0.3902, allocations: 0.5025 MB / 457.2 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006718/0.397, allocations: 9.862 MB / 467 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/0.3976, allocations: 46.59 kB / 467.1 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.3976, allocations: 21.77 kB / 467.1 MB, free: 19.21 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, 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 (75): * Single equations (assignments): 68 * 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.0003884/0.398, allocations: 209.2 kB / 467.3 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.3981, allocations: 32.59 kB / 467.3 MB, free: 19.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.4005, allocations: 0.9532 MB / 468.3 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.4005, allocations: 7.156 kB / 468.3 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4005, allocations: 2.219 kB / 468.3 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.4005, allocations: 3.188 kB / 468.3 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.4041, allocations: 1.892 MB / 470.2 MB, free: 17.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.4042, allocations: 5.719 kB / 470.2 MB, free: 17.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00355/0.4077, allocations: 476.8 kB / 470.7 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002274/0.41, allocations: 353.5 kB / 471 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.4101, allocations: 25.47 kB / 471 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008449/0.4186, allocations: 10.06 MB / 481.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/0.4186, allocations: 10.38 kB / 481.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/0.4218, allocations: 1.397 MB / 482.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.4221, allocations: 124.5 kB / 482.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.4222, allocations: 37.48 kB / 482.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/0.4228, allocations: 31.03 kB / 482.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.4231, allocations: 88.72 kB / 482.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/0.4231, allocations: 28.47 kB / 482.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.4233, allocations: 143 kB / 482.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4233, allocations: 1.188 kB / 482.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001074/0.4244, allocations: 168.9 kB / 483.1 MB, free: 6.207 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 (69): * Single equations (assignments): 62 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002241/0.4246, allocations: 139.2 kB / 483.2 MB, free: 6.086 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.005243/0.4299, allocations: 1.362 MB / 484.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.4299, allocations: 1.344 kB / 484.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004442/0.4343, allocations: 1.107 MB / 485.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4355, allocations: 134.4 kB / 485.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.4385, allocations: 1.627 MB / 487.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.4391, allocations: 0.8464 MB / 488.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005193/0.4396, allocations: 63.66 kB / 488.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.4398, allocations: 37.12 kB / 488.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4398, allocations: 0 / 488.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of Templates: time 0.01858/0.4584, allocations: 8.243 MB / 496.7 MB, free: 400 kB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_001.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_001.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_001.sim & ./AES_AES.Devel_test_models.Test_air_circ_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1)