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: "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 99.86 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.001327/0.001327, 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.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2723/0.2723, allocations: 22.34 MB / 313.3 MB, free: 13.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004548, allocations: 8 kB / 381.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5031, allocations: 55.97 MB / 437.9 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004111/0.5073, allocations: 2.775 MB / 440.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.5098, allocations: 1.089 MB / 441.7 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.5101, allocations: 5.719 kB / 441.8 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.5103, allocations: 46.64 kB / 441.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000704/0.511, allocations: 194.4 kB / 442 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.5114, allocations: 135.6 kB / 442.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007713/0.5122, allocations: 0.5159 MB / 442.6 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005714/0.5128, allocations: 287.2 kB / 442.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.5133, allocations: 262.6 kB / 443.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.5137, allocations: 296.3 kB / 443.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.903e-05/0.5138, allocations: 34.5 kB / 443.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.5139, allocations: 37.31 kB / 443.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.514, allocations: 109.5 kB / 443.6 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.5142, allocations: 141 kB / 443.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006006/0.5148, allocations: 0.5357 MB / 444.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.5148, allocations: 0 / 444.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.5148, allocations: 4 kB / 444.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.5149, allocations: 0 / 444.3 MB, free: 35.4 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.001817/0.5167, allocations: 0.733 MB / 445.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.5168, allocations: 12.62 kB / 445.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.5169, allocations: 105 kB / 445.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.5171, allocations: 62.28 kB / 445.2 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.5174, allocations: 230.5 kB / 445.5 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.5175, allocations: 45 kB / 445.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.5176, allocations: 71.34 kB / 445.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.519, allocations: 0.5374 MB / 446.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.519, allocations: 0 / 446.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.5191, allocations: 25.84 kB / 446.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.5191, allocations: 14.31 kB / 446.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.5204, allocations: 498.1 kB / 446.6 MB, free: 34.05 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003482/0.5238, allocations: 1.776 MB / 448.4 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.5255, allocations: 0.5832 MB / 449 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.327e-05/0.5256, allocations: 10.58 kB / 449 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.5256, allocations: 42.03 kB / 449 MB, free: 32.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 4.148e-06/0.5256, allocations: 0 / 449 MB, free: 32.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.01731/0.543, allocations: 4.008 MB / 453 MB, free: 30.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.5431, allocations: 66.97 kB / 453.1 MB, free: 30.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.5433, allocations: 143 kB / 453.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/0.5434, allocations: 43.48 kB / 453.3 MB, free: 30.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.5435, allocations: 220.8 kB / 453.5 MB, free: 30.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.5438, allocations: 304.7 kB / 453.8 MB, free: 30.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.5439, allocations: 14.88 kB / 453.8 MB, free: 30.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.544, allocations: 347.6 kB / 454.2 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006873/0.5447, allocations: 266.3 kB / 454.4 MB, free: 29.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/0.5455, allocations: 329.1 kB / 454.7 MB, free: 29.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008882/0.5464, allocations: 311.5 kB / 455 MB, free: 29.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.5464, allocations: 1.062 kB / 455 MB, free: 29.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004344/0.5507, allocations: 1.091 MB / 456.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.822e-05/0.5509, allocations: 8.5 kB / 456.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.5509, allocations: 1.062 kB / 456.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003212/0.5541, allocations: 430.1 kB / 456.6 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004447/0.5586, allocations: 433.7 kB / 457 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/0.5733, allocations: 13.21 MB / 470.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009619/0.5744, allocations: 51.02 kB / 470.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.5745, allocations: 23.41 kB / 470.3 MB, free: 15.86 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.0006335/0.5751, allocations: 252.8 kB / 470.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.5753, allocations: 36.75 kB / 470.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0053/0.5806, allocations: 1.28 MB / 471.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/0.5807, allocations: 8.906 kB / 471.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.5807, allocations: 6.375 kB / 471.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.5807, allocations: 3.469 kB / 471.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006788/0.5875, allocations: 2.002 MB / 473.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.5876, allocations: 9.406 kB / 473.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004005/0.5916, allocations: 384.8 kB / 474.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006278/0.5979, allocations: 0.7292 MB / 475 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/0.5982, allocations: 20.56 kB / 475 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01753/0.6158, allocations: 13.74 MB / 488.7 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.6158, allocations: 1.375 kB / 488.7 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006794/0.6227, allocations: 1.74 MB / 490.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/0.623, allocations: 112.9 kB / 490.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.6232, allocations: 18.41 kB / 490.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/0.624, allocations: 42.3 kB / 490.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004907/0.6245, allocations: 86.42 kB / 490.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-05/0.6246, allocations: 25.5 kB / 490.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.6247, allocations: 107.9 kB / 490.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6247, allocations: 0 / 490.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001881/0.6266, allocations: 219.9 kB / 491.1 MB, free: 15.64 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.007397/0.6341, allocations: 2.508 MB / 493.6 MB, free: 14.02 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.008465/0.6426, allocations: 1.844 MB / 495.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.6426, allocations: 1.344 kB / 495.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00732/0.65, allocations: 1.578 MB / 497 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.6511, allocations: 81.22 kB / 497.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.6638, allocations: 3.852 MB / 0.4892 GB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009649/0.6648, allocations: 0.8953 MB / 0.4901 GB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007762/0.6656, allocations: 58.11 kB / 0.4901 GB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/0.6661, allocations: 177.8 kB / 0.4903 GB, free: 8.883 MB / 366.1 MB Notification: Performance of SimCode: time 1.633e-06/0.6661, allocations: 1.062 kB / 0.4903 GB, free: 8.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0528/0.7189, allocations: 14.06 MB / 0.504 GB, free: 11.88 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/0.7192, allocations: 189.5 kB / 0.5042 GB, free: 11.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.338, allocations: 0 / 0.5042 GB, free: 11.63 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_004_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_004.fmu > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1) Environment - environmentSimulation: