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.0008071/0.0008071, allocations: 98.88 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.0008725/0.0008725, allocations: 187.7 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.325/1.325, allocations: 223.3 MB / 241 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.202/0.202, allocations: 22.33 MB / 314.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 8 kB / 383.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2342, allocations: 55.98 MB / 439.2 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.002392/0.2367, allocations: 3.199 MB / 442.4 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2378, allocations: 1.083 MB / 443.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.2379, allocations: 2.844 kB / 443.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.238, allocations: 48.94 kB / 443.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.2384, allocations: 160.9 kB / 443.7 MB, free: 36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.2386, allocations: 183.2 kB / 443.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.2391, allocations: 0.7785 MB / 444.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.2394, allocations: 300.5 kB / 445 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.2396, allocations: 264 kB / 445.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.2399, allocations: 295.4 kB / 445.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.24, allocations: 37.97 kB / 445.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.117e-05/0.24, allocations: 37.19 kB / 445.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.2401, allocations: 114.9 kB / 445.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.2403, allocations: 321.1 kB / 446 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.2406, allocations: 0.5511 MB / 446.6 MB, free: 34.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2407, allocations: 4 kB / 446.6 MB, free: 34.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2407, allocations: 0 / 446.6 MB, free: 34.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2407, allocations: 2.969 kB / 446.6 MB, free: 34.78 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.001163/0.2418, allocations: 0.7258 MB / 447.3 MB, free: 34.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.2419, allocations: 12.59 kB / 447.3 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.242, allocations: 65.72 kB / 447.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.2421, allocations: 237 kB / 447.6 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.2422, allocations: 49.44 kB / 447.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.2423, allocations: 65.47 kB / 447.7 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.2431, allocations: 0.5423 MB / 448.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2431, allocations: 2.75 kB / 448.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.2432, allocations: 22.97 kB / 448.3 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.2432, allocations: 17.69 kB / 448.3 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007823/0.244, allocations: 0.4884 MB / 448.8 MB, free: 33.49 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.002199/0.2462, allocations: 2.343 MB / 451.1 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.2473, allocations: 0.5904 MB / 451.7 MB, free: 31.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.2476, allocations: 240 kB / 452 MB, free: 31.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.2477, allocations: 17.72 kB / 452 MB, free: 31.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.2477, allocations: 37.75 kB / 452 MB, free: 31.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.674e-06/0.2477, allocations: 0 / 452 MB, free: 31.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.01195/0.2597, allocations: 4.021 MB / 456 MB, free: 29.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.2597, allocations: 60.84 kB / 456.1 MB, free: 29.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.2598, allocations: 148.6 kB / 456.3 MB, free: 29.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.2598, allocations: 36.95 kB / 456.3 MB, free: 29.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.2599, allocations: 224.1 kB / 456.5 MB, free: 29.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.2601, allocations: 302.1 kB / 456.8 MB, free: 28.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.2601, allocations: 62.27 kB / 456.9 MB, free: 28.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.2602, allocations: 349.2 kB / 457.2 MB, free: 28.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.2607, allocations: 276.2 kB / 457.5 MB, free: 28.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.2612, allocations: 327.4 kB / 457.8 MB, free: 28.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/0.2729, allocations: 2.253 MB / 460 MB, free: 27.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2729, allocations: 0 / 460 MB, free: 27.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003041/0.2759, allocations: 1.106 MB / 461.2 MB, free: 27.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.276, allocations: 5 kB / 461.2 MB, free: 27.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.276, allocations: 1.031 kB / 461.2 MB, free: 27.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.2784, allocations: 441.9 kB / 461.6 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003132/0.2815, allocations: 424.7 kB / 462 MB, free: 26.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009598/0.2911, allocations: 13.13 MB / 475.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/0.2916, allocations: 52.89 kB / 475.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.2917, allocations: 25.83 kB / 475.2 MB, free: 14.08 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: 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 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 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 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 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 (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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): 5 systems {(3,4,77.8%), (3,4,77.8%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003638/0.2921, allocations: 263.2 kB / 475.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.2922, allocations: 32.48 kB / 475.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.296, allocations: 1.277 MB / 476.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.296, allocations: 13.34 kB / 476.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.296, allocations: 2.625 kB / 476.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.296, allocations: 3.234 kB / 476.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/0.3004, allocations: 2.014 MB / 478.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3004, allocations: 1.25 kB / 478.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002848/0.3033, allocations: 384.1 kB / 479.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004718/0.308, allocations: 0.7283 MB / 479.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.3081, allocations: 21.77 kB / 479.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/0.3192, allocations: 13.64 MB / 493.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3192, allocations: 2.969 kB / 493.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0042/0.3234, allocations: 1.711 MB / 495.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.3235, allocations: 111.4 kB / 495.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.3236, allocations: 17.75 kB / 495.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/0.3241, allocations: 40.83 kB / 495.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.3243, allocations: 85.23 kB / 495.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/0.3244, allocations: 24.45 kB / 495.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.3245, allocations: 117.4 kB / 495.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3245, allocations: 3.938 kB / 495.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001029/0.3256, allocations: 224.2 kB / 495.9 MB, free: 13.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 (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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%), (3,4,77.8%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.3257, allocations: 118.3 kB / 496 MB, free: 13.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.005311/0.3311, allocations: 1.839 MB / 497.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3311, allocations: 0 / 497.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00462/0.3357, allocations: 1.571 MB / 499.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.3364, allocations: 87.66 kB / 499.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.3391, allocations: 1.945 MB / 0.4897 GB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.3396, allocations: 0.8747 MB / 0.4906 GB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.3398, allocations: 45.27 kB / 0.4906 GB, free: 9.824 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3398, allocations: 0 / 0.4906 GB, free: 9.824 MB / 366.1 MB Notification: Performance of Templates: time 0.02606/0.3658, allocations: 26.01 MB / 0.516 GB, free: 0.6055 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_004.makefile (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)