Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_003.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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_003") translateModel(AES.Devel_test_models.Test_air_circ_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000959/0.000959, allocations: 92.16 kB / 16.02 MB, free: 80 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.001015/0.001015, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.302/1.302, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1906/0.1906, allocations: 22.34 MB / 314.4 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002837, allocations: 8 kB / 383.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2328, allocations: 55.99 MB / 439.2 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.002539/0.2353, allocations: 3.145 MB / 442.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.2364, allocations: 1.098 MB / 443.5 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.2366, allocations: 2.844 kB / 443.5 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.183e-05/0.2366, allocations: 42.36 kB / 443.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.237, allocations: 165.9 kB / 443.7 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.2372, allocations: 188.3 kB / 443.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.2376, allocations: 0.7892 MB / 444.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.238, allocations: 379.9 kB / 445 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.2383, allocations: 305.4 kB / 445.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.2386, allocations: 369.8 kB / 445.7 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.2387, allocations: 43.03 kB / 445.7 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.432e-05/0.2388, allocations: 43.12 kB / 445.8 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.2389, allocations: 140.7 kB / 445.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.2391, allocations: 340 kB / 446.3 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.2394, allocations: 0.5976 MB / 446.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2394, allocations: 0 / 446.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2394, allocations: 0 / 446.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2394, allocations: 0 / 446.9 MB, free: 34.7 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001424/0.2409, allocations: 0.7622 MB / 447.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.2409, allocations: 13.75 kB / 447.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/0.241, allocations: 56.69 kB / 447.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2411, allocations: 230.5 kB / 447.9 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.2412, allocations: 48.66 kB / 448 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.878e-05/0.2413, allocations: 66.56 kB / 448 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008783/0.2421, allocations: 0.6089 MB / 448.6 MB, free: 33.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.2422, allocations: 0 / 448.6 MB, free: 33.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.2422, allocations: 29.67 kB / 448.7 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.2422, allocations: 15.03 kB / 448.7 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008997/0.2432, allocations: 0.6096 MB / 449.3 MB, free: 33.35 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.002553/0.2457, allocations: 1.943 MB / 451.2 MB, free: 32.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.247, allocations: 0.6829 MB / 451.9 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.2474, allocations: 311.3 kB / 452.2 MB, free: 31.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.2475, allocations: 20.47 kB / 452.2 MB, free: 31.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.2475, allocations: 38.03 kB / 452.3 MB, free: 31.72 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004309/0.2479, allocations: 111.9 kB / 452.4 MB, free: 31.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.004e-06/0.248, allocations: 3.938 kB / 452.4 MB, free: 31.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=90): time 0.006806/0.2548, allocations: 2.928 MB / 455.3 MB, free: 30.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2548, allocations: 63.89 kB / 455.4 MB, free: 30.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.2549, allocations: 211.7 kB / 455.6 MB, free: 30.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.255, allocations: 40.89 kB / 455.6 MB, free: 29.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.2551, allocations: 189.6 kB / 455.8 MB, free: 29.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.2552, allocations: 305.4 kB / 456.1 MB, free: 29.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.2553, allocations: 66.64 kB / 456.2 MB, free: 29.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.2554, allocations: 352.1 kB / 456.5 MB, free: 29.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.2558, allocations: 278.8 kB / 456.8 MB, free: 29.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.2563, allocations: 346.2 kB / 457.1 MB, free: 28.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01628/0.2726, allocations: 2.884 MB / 460 MB, free: 28.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2726, allocations: 0 / 460 MB, free: 28.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002096/0.2747, allocations: 0.937 MB / 460.9 MB, free: 27.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2748, allocations: 6.375 kB / 460.9 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2748, allocations: 0 / 460.9 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.2759, allocations: 200.8 kB / 461.1 MB, free: 27.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004182/0.2801, allocations: 0.5468 MB / 461.7 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006253/0.2864, allocations: 9.874 MB / 471.6 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.2869, allocations: 36.19 kB / 471.6 MB, free: 17.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.287, allocations: 34.22 kB / 471.6 MB, free: 17.86 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 (87): * Single equations (assignments): 80 * 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.0003073/0.2873, allocations: 215.2 kB / 471.8 MB, free: 17.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.661e-05/0.2874, allocations: 43.31 kB / 471.9 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.2902, allocations: 1.187 MB / 473.1 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.2902, allocations: 8.812 kB / 473.1 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2902, allocations: 2.719 kB / 473.1 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.2902, allocations: 7.547 kB / 473.1 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/0.2937, allocations: 2.138 MB / 475.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.2937, allocations: 7.469 kB / 475.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003615/0.2974, allocations: 0.5005 MB / 475.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/0.2996, allocations: 357.7 kB / 476.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.2996, allocations: 31.84 kB / 476.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006453/0.3061, allocations: 10.11 MB / 486.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.3061, allocations: 11.92 kB / 486.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.309, allocations: 1.679 MB / 487.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-05/0.3091, allocations: 126.9 kB / 488 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.641e-05/0.3092, allocations: 25.62 kB / 488.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/0.3097, allocations: 42.67 kB / 488.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.3099, allocations: 103 kB / 488.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/0.31, allocations: 34.5 kB / 488.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.3101, allocations: 158.3 kB / 488.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3101, allocations: 0 / 488.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007504/0.3109, allocations: 192.6 kB / 488.6 MB, free: 4.477 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 (86): * Single equations (assignments): 79 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001401/0.311, allocations: 136.6 kB / 488.7 MB, free: 4.352 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.004887/0.3159, allocations: 1.5 MB / 490.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3159, allocations: 1.062 kB / 490.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00409/0.32, allocations: 1.206 MB / 491.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/0.321, allocations: 139.8 kB / 491.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.323, allocations: 1.847 MB / 493.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3233, allocations: 0.868 MB / 494.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.3236, allocations: 58.02 kB / 494.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3236, allocations: 1 kB / 494.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Templates: time 0.0212/0.3448, allocations: 21.81 MB / 0.5041 GB, free: 13.45 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_003.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_003.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_003.sim & ./AES_AES.Devel_test_models.Test_air_circ_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)