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: "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",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.0009922/0.0009922, allocations: 99.62 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.001212/0.001212, allocations: 177.3 kB / 15.95 MB, free: 216 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.459/1.459, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2511/0.2511, allocations: 22.35 MB / 313.3 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 11.98 kB / 381.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3833, allocations: 55.97 MB / 437.9 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.002655/0.386, allocations: 2.727 MB / 440.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.3874, allocations: 1.102 MB / 441.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3875, allocations: 2.719 kB / 441.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.294e-05/0.3876, allocations: 40.88 kB / 441.8 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.388, allocations: 190.7 kB / 441.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.3882, allocations: 136.2 kB / 442.1 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.3887, allocations: 0.5258 MB / 442.6 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004805/0.3892, allocations: 362.7 kB / 443 MB, free: 35.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.3895, allocations: 301.9 kB / 443.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.3899, allocations: 356.2 kB / 443.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.39, allocations: 46.03 kB / 443.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-05/0.3901, allocations: 44.78 kB / 443.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3902, allocations: 129.5 kB / 443.8 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3903, allocations: 137.3 kB / 444 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.3908, allocations: 0.597 MB / 444.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3908, allocations: 0 / 444.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3908, allocations: 0 / 444.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3908, allocations: 0 / 444.5 MB, free: 35.18 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.00154/0.3924, allocations: 0.7592 MB / 445.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3924, allocations: 13.23 kB / 445.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.3926, allocations: 112.8 kB / 445.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.3927, allocations: 64.62 kB / 445.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3928, allocations: 218 kB / 445.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.3929, allocations: 48.62 kB / 445.8 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/0.393, allocations: 65.34 kB / 445.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008857/0.3939, allocations: 0.5967 MB / 446.4 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3939, allocations: 2.875 kB / 446.4 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.938e-05/0.394, allocations: 22.94 kB / 446.4 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.394, allocations: 17.94 kB / 446.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009078/0.3949, allocations: 0.5981 MB / 447.1 MB, free: 33.77 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.002645/0.3976, allocations: 1.787 MB / 448.8 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.3989, allocations: 0.6757 MB / 449.5 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.345e-05/0.3989, allocations: 23.39 kB / 449.5 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.399, allocations: 38.66 kB / 449.6 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004261/0.3994, allocations: 106 kB / 449.7 MB, free: 32.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 1.974e-06/0.3994, allocations: 3.938 kB / 449.7 MB, free: 32.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=90): time 0.006601/0.406, allocations: 2.922 MB / 452.6 MB, free: 30.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.4061, allocations: 59.38 kB / 452.7 MB, free: 30.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.4062, allocations: 204.5 kB / 452.9 MB, free: 30.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.4063, allocations: 40.33 kB / 452.9 MB, free: 30.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.4064, allocations: 195.8 kB / 453.1 MB, free: 30.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.4066, allocations: 306.5 kB / 453.4 MB, free: 30.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.4066, allocations: 14.62 kB / 453.4 MB, free: 30.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.4067, allocations: 347.8 kB / 453.7 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.4071, allocations: 274.5 kB / 454 MB, free: 29.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.4076, allocations: 336 kB / 454.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.4081, allocations: 323.7 kB / 454.7 MB, free: 29.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4081, allocations: 0 / 454.7 MB, free: 29.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001852/0.41, allocations: 0.9446 MB / 455.6 MB, free: 29.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.41, allocations: 5.188 kB / 455.6 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.41, allocations: 0.9375 kB / 455.6 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.4111, allocations: 199.7 kB / 455.8 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003814/0.4149, allocations: 0.5422 MB / 456.3 MB, free: 29.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006972/0.4219, allocations: 9.925 MB / 466.3 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/0.4227, allocations: 33.58 kB / 466.3 MB, free: 19.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.4228, allocations: 30.58 kB / 466.3 MB, free: 19.11 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 (87): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004922/0.4233, allocations: 224.1 kB / 466.6 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.4234, allocations: 43.34 kB / 466.6 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.426, allocations: 1.183 MB / 467.8 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.4261, allocations: 10.19 kB / 467.8 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4261, allocations: 0.9688 kB / 467.8 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4261, allocations: 11.78 kB / 467.8 MB, free: 18.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/0.4299, allocations: 2.136 MB / 469.9 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.43, allocations: 6.438 kB / 469.9 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003445/0.4334, allocations: 0.4927 MB / 470.4 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/0.4355, allocations: 362.8 kB / 470.8 MB, free: 17.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.783e-05/0.4357, allocations: 27.5 kB / 470.8 MB, free: 17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007488/0.4432, allocations: 10.17 MB / 481 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/0.4432, allocations: 10.94 kB / 481 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/0.4467, allocations: 1.972 MB / 483 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.4469, allocations: 131.1 kB / 483.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.891e-05/0.447, allocations: 25.59 kB / 483.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/0.4475, allocations: 38.38 kB / 483.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/0.4478, allocations: 104.9 kB / 483.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.4479, allocations: 38.03 kB / 483.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.448, allocations: 156.3 kB / 483.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.448, allocations: 0 / 483.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001099/0.4491, allocations: 192 kB / 483.6 MB, free: 5.223 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 (linear and non-linear blocks): 4 * 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: 4 {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%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004016/0.4532, allocations: 4.325 MB / 488 MB, free: 17.51 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.005214/0.4584, allocations: 1.511 MB / 489.5 MB, free: 16.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.4584, allocations: 1.031 kB / 489.5 MB, free: 16.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004334/0.4628, allocations: 1.22 MB / 490.7 MB, free: 16.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/0.4637, allocations: 135.6 kB / 490.8 MB, free: 16.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007258/0.4709, allocations: 3.694 MB / 494.5 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/0.4716, allocations: 0.8798 MB / 495.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006606/0.4723, allocations: 88.77 kB / 495.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.4727, allocations: 188.5 kB / 495.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4727, allocations: 1.031 kB / 495.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.5059, allocations: 13.93 MB / 0.4977 GB, free: 2.555 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.5062, allocations: 190 kB / 0.4978 GB, free: 2.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.677, allocations: 0 / 0.4978 GB, free: 2.316 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_003_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_003.fmu > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1) Environment - environmentSimulation: