Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.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_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_004") translateModel(AES.Devel_test_models.Test_air_circ_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001175/0.001175, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2767/0.2767, allocations: 22.34 MB / 313.3 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004543, allocations: 8 kB / 381.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3854, allocations: 55.97 MB / 437.8 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.00273/0.3881, allocations: 2.773 MB / 440.6 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3899, allocations: 1.088 MB / 441.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.3902, allocations: 3.75 kB / 441.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.3904, allocations: 47.28 kB / 441.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.391, allocations: 196.9 kB / 441.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.3914, allocations: 135.2 kB / 442 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007975/0.3922, allocations: 0.5232 MB / 442.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.3927, allocations: 296.5 kB / 442.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005238/0.3932, allocations: 261.9 kB / 443.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.3937, allocations: 285.4 kB / 443.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.773e-05/0.3937, allocations: 36.22 kB / 443.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.868e-05/0.3938, allocations: 36.5 kB / 443.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.3939, allocations: 113.4 kB / 443.6 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.3941, allocations: 135.5 kB / 443.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.3945, allocations: 0.5424 MB / 444.3 MB, free: 35.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.3945, allocations: 0 / 444.3 MB, free: 35.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3945, allocations: 4 kB / 444.3 MB, free: 35.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3945, allocations: 0 / 444.3 MB, free: 35.3 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001256/0.3958, allocations: 0.7332 MB / 445 MB, free: 34.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3958, allocations: 8.531 kB / 445 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/0.3959, allocations: 59.69 kB / 445.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.3961, allocations: 232.2 kB / 445.3 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.3961, allocations: 48.34 kB / 445.3 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.57e-05/0.3962, allocations: 59.78 kB / 445.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007642/0.397, allocations: 0.5364 MB / 445.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.397, allocations: 3.953 kB / 445.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.3971, allocations: 25.78 kB / 446 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.3971, allocations: 17.56 kB / 446 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.3978, allocations: 496.7 kB / 446.5 MB, free: 34.03 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V1.T(start = V1.Tstart = 293.15, confidence number = 2) * Candidate: V1.air.T(start = 288.15, confidence number = 8) * Candidate: V1.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.hotPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Th(start = 288.15, confidence number = 7) => Select value from V1.T(start = V1.Tstart = 293.15) for variable: V1.T Warning: Alias set with conflicting start values * Candidate: V2.T(start = V2.Tstart = 293.15, confidence number = 2) * Candidate: V2.air.T(start = 288.15, confidence number = 8) * Candidate: V2.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.coldPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Tc(start = 288.15, confidence number = 7) => Select value from V2.T(start = V2.Tstart = 293.15) for variable: V2.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.4001, allocations: 2.367 MB / 448.8 MB, free: 32.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009808/0.4011, allocations: 0.5831 MB / 449.4 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.4012, allocations: 10.34 kB / 449.4 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4012, allocations: 41.28 kB / 449.5 MB, free: 31.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.663e-06/0.4012, allocations: 0 / 449.5 MB, free: 31.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.01091/0.4121, allocations: 4.003 MB / 453.5 MB, free: 30.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.4122, allocations: 61.78 kB / 453.5 MB, free: 30.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4123, allocations: 144.7 kB / 453.7 MB, free: 29.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.4124, allocations: 37.61 kB / 453.7 MB, free: 29.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4125, allocations: 220.1 kB / 453.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.4127, allocations: 310.6 kB / 454.2 MB, free: 29.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.4128, allocations: 15.97 kB / 454.2 MB, free: 29.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.4128, allocations: 341 kB / 454.6 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.4133, allocations: 267.2 kB / 454.8 MB, free: 29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.4137, allocations: 329.5 kB / 455.1 MB, free: 28.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.4143, allocations: 314.7 kB / 455.5 MB, free: 28.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4143, allocations: 0 / 455.5 MB, free: 28.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002835/0.4171, allocations: 1.089 MB / 456.5 MB, free: 28.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4172, allocations: 5.375 kB / 456.5 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4172, allocations: 0 / 456.5 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002183/0.4194, allocations: 446.4 kB / 457 MB, free: 28.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.4223, allocations: 425.9 kB / 457.4 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009596/0.4319, allocations: 13.21 MB / 470.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.4326, allocations: 49.3 kB / 470.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.4328, allocations: 23.38 kB / 470.7 MB, free: 15.17 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: V2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V2.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.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 = V2.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V1.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 = V1.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) 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): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,77.8%) 4,(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006078/0.4334, allocations: 254.4 kB / 470.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.4335, allocations: 37.28 kB / 471 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003751/0.4373, allocations: 1.274 MB / 472.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.4373, allocations: 7.906 kB / 472.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.4373, allocations: 3.594 kB / 472.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.4373, allocations: 4.594 kB / 472.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.4419, allocations: 2.011 MB / 474.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.4419, allocations: 2 kB / 474.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/0.4445, allocations: 385.2 kB / 474.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004161/0.4486, allocations: 0.726 MB / 475.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-05/0.4488, allocations: 22.25 kB / 475.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/0.4605, allocations: 13.73 MB / 489.1 MB, free: 16.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4605, allocations: 1.922 kB / 489.1 MB, free: 16.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004089/0.4646, allocations: 1.74 MB / 490.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.4648, allocations: 109 kB / 491 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.4649, allocations: 22.47 kB / 491 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.4654, allocations: 46.2 kB / 491 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002992/0.4657, allocations: 86.06 kB / 491.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/0.4658, allocations: 28.17 kB / 491.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.939e-05/0.4659, allocations: 110.8 kB / 491.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4659, allocations: 0 / 491.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0012/0.4671, allocations: 221.1 kB / 491.5 MB, free: 14.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(3,77.8%) 4,(1,100.0%) 2} * Non-linear torn systems: 3 {1 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002405/0.4674, allocations: 118.6 kB / 491.6 MB, free: 14.83 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.V2.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V1.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.005293/0.4727, allocations: 1.84 MB / 493.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4727, allocations: 0 / 493.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004473/0.4772, allocations: 1.578 MB / 495 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.4778, allocations: 79.81 kB / 495.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.4809, allocations: 1.86 MB / 496.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.4816, allocations: 0.8871 MB / 497.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004474/0.482, allocations: 58.34 kB / 497.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.4822, allocations: 33.7 kB / 497.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4822, allocations: 0 / 497.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Templates: time 0.02018/0.5024, allocations: 10.25 MB / 0.4963 GB, free: 3.68 MB / 366.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_004.makefile Environment - environmentSimulation: (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & ./AES_AES.Devel_test_models.Test_air_circ_004 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1) Environment - environmentSimulation: