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.0008192/0.0008192, allocations: 99.5 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.0008362/0.0008362, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1911/0.1911, allocations: 22.34 MB / 314.4 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003047, allocations: 8 kB / 383.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2432, allocations: 55.98 MB / 439.2 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.002347/0.2456, allocations: 2.939 MB / 442.2 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2469, allocations: 1.044 MB / 443.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.2472, allocations: 2.875 kB / 443.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.459e-05/0.2473, allocations: 42.58 kB / 443.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.2477, allocations: 146 kB / 443.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.248, allocations: 170.3 kB / 443.6 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.2486, allocations: 0.7269 MB / 444.3 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.2489, allocations: 258.7 kB / 444.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.2492, allocations: 246.7 kB / 444.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.2494, allocations: 268.5 kB / 445.1 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.2495, allocations: 30.91 kB / 445.1 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.2496, allocations: 34.22 kB / 445.1 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-05/0.2496, allocations: 97.38 kB / 445.2 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.2498, allocations: 288.3 kB / 445.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.2501, allocations: 0.4996 MB / 446 MB, free: 35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2501, allocations: 0 / 446 MB, free: 35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2501, allocations: 0 / 446 MB, free: 35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2502, allocations: 0 / 446 MB, free: 35 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.001158/0.2513, allocations: 0.6935 MB / 446.7 MB, free: 34.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2514, allocations: 12.81 kB / 446.7 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.2514, allocations: 49.06 kB / 446.7 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2516, allocations: 223.9 kB / 447 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.2516, allocations: 45.91 kB / 447 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.2517, allocations: 53.69 kB / 447.1 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/0.2524, allocations: 0.4938 MB / 447.6 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2524, allocations: 4 kB / 447.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.2525, allocations: 25.78 kB / 447.6 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2525, allocations: 12.66 kB / 447.6 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006804/0.2532, allocations: 483.7 kB / 448.1 MB, free: 33.79 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.001941/0.2551, allocations: 1.641 MB / 449.7 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000747/0.2559, allocations: 0.5061 MB / 450.2 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.2562, allocations: 225 kB / 450.4 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.2562, allocations: 9.219 kB / 450.4 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.2562, allocations: 53.38 kB / 450.5 MB, free: 32.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 1.873e-06/0.2563, allocations: 0 / 450.5 MB, free: 32.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.005751/0.262, allocations: 2.424 MB / 452.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.2621, allocations: 58.28 kB / 453 MB, free: 31.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2622, allocations: 193.8 kB / 453.2 MB, free: 30.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.2622, allocations: 44.8 kB / 453.2 MB, free: 30.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.2623, allocations: 186.9 kB / 453.4 MB, free: 30.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.2624, allocations: 267 kB / 453.7 MB, free: 30.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/0.2625, allocations: 59.97 kB / 453.7 MB, free: 30.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.2626, allocations: 343.6 kB / 454.1 MB, free: 30.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.2629, allocations: 216.8 kB / 454.3 MB, free: 30.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.2632, allocations: 266.5 kB / 454.5 MB, free: 29.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008207/0.2715, allocations: 1.69 MB / 456.2 MB, free: 29.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2715, allocations: 0 / 456.2 MB, free: 29.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001697/0.2732, allocations: 0.7776 MB / 457 MB, free: 29.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2732, allocations: 8.188 kB / 457 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2732, allocations: 1.469 kB / 457 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.2743, allocations: 199.9 kB / 457.2 MB, free: 29.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/0.2781, allocations: 0.5049 MB / 457.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006077/0.2842, allocations: 9.864 MB / 467.6 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.2847, allocations: 41.3 kB / 467.6 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.2847, allocations: 23.12 kB / 467.6 MB, free: 19.1 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.0002928/0.285, allocations: 202.8 kB / 467.8 MB, free: 18.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.2851, allocations: 32.88 kB / 467.9 MB, free: 18.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.2873, allocations: 0.9527 MB / 468.8 MB, free: 18.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.2873, allocations: 12.64 kB / 468.8 MB, free: 18.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2873, allocations: 6.312 kB / 468.8 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2873, allocations: 5.625 kB / 468.8 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.2904, allocations: 1.878 MB / 470.7 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.2904, allocations: 13.12 kB / 470.7 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003383/0.2938, allocations: 469.1 kB / 471.2 MB, free: 17.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.296, allocations: 361.7 kB / 471.5 MB, free: 17.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.296, allocations: 25.62 kB / 471.6 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006626/0.3027, allocations: 10.06 MB / 481.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/0.3027, allocations: 12.09 kB / 481.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.3053, allocations: 1.404 MB / 483 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3054, allocations: 125.7 kB / 483.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.3055, allocations: 25.14 kB / 483.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/0.3059, allocations: 34.16 kB / 483.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.3061, allocations: 89.67 kB / 483.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.3062, allocations: 27.11 kB / 483.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.3063, allocations: 145.9 kB / 483.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3063, allocations: 0 / 483.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007874/0.3071, allocations: 170.3 kB / 483.6 MB, free: 6.094 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.0001324/0.3072, allocations: 127.4 kB / 483.8 MB, free: 5.98 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.004659/0.3119, allocations: 1.339 MB / 485.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3119, allocations: 1.969 kB / 485.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003989/0.3159, allocations: 1.103 MB / 486.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.3169, allocations: 133.8 kB / 486.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3189, allocations: 1.654 MB / 488 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3192, allocations: 0.8476 MB / 488.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3194, allocations: 39.94 kB / 488.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3194, allocations: 0 / 488.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of Templates: time 0.02012/0.3395, allocations: 19.02 MB / 0.496 GB, free: 5.766 MB / 366.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)