Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_002.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") translateModel(AES.Devel_test_models.Test_air_circ_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.47 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.001208/0.001208, allocations: 177.3 kB / 15.94 MB, free: 228 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.399/1.399, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2474/0.2474, allocations: 22.34 MB / 313.3 MB, free: 13.19 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 12 kB / 381.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3808, allocations: 55.97 MB / 437.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.003078/0.384, allocations: 3.115 MB / 440.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.3859, allocations: 1.269 MB / 442.2 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.3862, allocations: 2.906 kB / 442.2 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.3863, allocations: 56.64 kB / 442.2 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004675/0.3867, allocations: 239.3 kB / 442.5 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.3871, allocations: 184.1 kB / 442.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.3876, allocations: 0.6691 MB / 443.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.3881, allocations: 399.6 kB / 443.7 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.3886, allocations: 354.6 kB / 444.1 MB, free: 35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.389, allocations: 415.8 kB / 444.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.524e-05/0.3891, allocations: 48 kB / 444.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3892, allocations: 47.41 kB / 444.6 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3894, allocations: 153.6 kB / 444.7 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.3895, allocations: 169.9 kB / 444.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.3901, allocations: 0.7359 MB / 445.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3901, allocations: 0 / 445.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3901, allocations: 0 / 445.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.3901, allocations: 0 / 445.6 MB, free: 34.5 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001826/0.392, allocations: 0.8773 MB / 446.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.392, allocations: 8.625 kB / 446.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.3922, allocations: 72.34 kB / 446.6 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.3924, allocations: 243 kB / 446.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.3925, allocations: 58.62 kB / 446.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.3926, allocations: 80.66 kB / 446.9 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.3937, allocations: 0.7203 MB / 447.7 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.3937, allocations: 3.953 kB / 447.7 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/0.3938, allocations: 33.11 kB / 447.7 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.3938, allocations: 21.22 kB / 447.7 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.3949, allocations: 0.7434 MB / 448.5 MB, free: 32.98 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.0032/0.3981, allocations: 2.238 MB / 450.7 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.4001, allocations: 0.9722 MB / 451.7 MB, free: 31.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.961e-05/0.4001, allocations: 18.83 kB / 451.7 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.4002, allocations: 44.59 kB / 451.7 MB, free: 31.26 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003778/0.4005, allocations: 102.4 kB / 451.8 MB, free: 31.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 3.617e-06/0.4006, allocations: 0 / 451.8 MB, free: 31.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01301/0.4136, allocations: 4.185 MB / 456 MB, free: 29.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.4137, allocations: 63 kB / 456.1 MB, free: 29.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.414, allocations: 215.2 kB / 456.3 MB, free: 29.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/0.4141, allocations: 45.86 kB / 456.3 MB, free: 29.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4142, allocations: 220.5 kB / 456.6 MB, free: 29.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.4145, allocations: 393.8 kB / 456.9 MB, free: 28.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.4145, allocations: 19.84 kB / 457 MB, free: 28.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.4146, allocations: 359.3 kB / 457.3 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/0.4152, allocations: 319.1 kB / 457.6 MB, free: 28.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/0.4158, allocations: 386 kB / 458 MB, free: 28.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/0.4165, allocations: 387.3 kB / 458.4 MB, free: 28.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4165, allocations: 0 / 458.4 MB, free: 28.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004729/0.4212, allocations: 1.491 MB / 459.9 MB, free: 27.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.4213, allocations: 9.469 kB / 459.9 MB, free: 27.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4213, allocations: 1.031 kB / 459.9 MB, free: 27.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004593/0.4259, allocations: 0.7796 MB / 460.7 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005614/0.4315, allocations: 0.7287 MB / 461.4 MB, free: 27.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/0.4482, allocations: 15.04 MB / 476.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.4493, allocations: 51.73 kB / 476.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.4494, allocations: 33.12 kB / 476.5 MB, free: 13.64 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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 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 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 (94): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {7 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005236/0.45, allocations: 236.8 kB / 476.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4501, allocations: 49.03 kB / 476.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004273/0.4544, allocations: 1.665 MB / 478.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.4544, allocations: 13.03 kB / 478.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.4544, allocations: 1.375 kB / 478.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.4544, allocations: 5.531 kB / 478.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006607/0.4611, allocations: 2.981 MB / 481.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/0.4611, allocations: 8.562 kB / 481.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005125/0.4663, allocations: 0.6693 MB / 482.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004129/0.4704, allocations: 0.7459 MB / 482.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003241/0.4708, allocations: 34.56 kB / 482.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01576/0.4866, allocations: 14.7 MB / 497.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.621e-05/0.4866, allocations: 14.44 kB / 497.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00611/0.4927, allocations: 2.715 MB / 0.4886 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/0.4932, allocations: 145.2 kB / 0.4888 GB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.4933, allocations: 36.33 kB / 0.4888 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007562/0.4941, allocations: 49.39 kB / 0.4888 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004845/0.4946, allocations: 133.8 kB / 0.489 GB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.4947, allocations: 44.61 kB / 0.489 GB, free: 10.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.4949, allocations: 174 kB / 0.4892 GB, free: 10.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4949, allocations: 0 / 0.4892 GB, free: 10.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001687/0.4966, allocations: 277.8 kB / 0.4894 GB, free: 10.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 3 (V.Ma,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 (87): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 4} * Non-linear torn systems: 2 {7 19,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002458/0.4969, allocations: 142.2 kB / 0.4896 GB, free: 10.42 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.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.007566/0.5045, allocations: 1.994 MB / 0.4915 GB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.5045, allocations: 0 / 0.4915 GB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006116/0.5106, allocations: 1.639 MB / 0.4931 GB, free: 6.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5117, allocations: 177.1 kB / 0.4933 GB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.5149, allocations: 2.131 MB / 0.4954 GB, free: 4.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.5155, allocations: 0.9413 MB / 0.4963 GB, free: 3.297 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006209/0.5161, allocations: 97.12 kB / 0.4964 GB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.5163, allocations: 43.44 kB / 0.4964 GB, free: 3.156 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5163, allocations: 0 / 0.4964 GB, free: 3.156 MB / 366.1 MB Notification: Performance of Templates: time 0.02414/0.5404, allocations: 14.54 MB / 0.5106 GB, free: 4.746 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_002.makefile Environment - environmentSimulation: (rm -f AES_AES.Devel_test_models.Test_air_circ_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_002.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_002.sim & ./AES_AES.Devel_test_models.Test_air_circ_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1) Environment - environmentSimulation: