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: "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",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.0009054/0.0009055, allocations: 98.77 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.0009262/0.0009262, 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.428/1.428, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2502/0.2502, allocations: 22.34 MB / 313.3 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003042, allocations: 15.98 kB / 381.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3687, allocations: 55.97 MB / 437.9 MB, free: 39.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.003084/0.3718, allocations: 3.113 MB / 441 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3736, allocations: 1.27 MB / 442.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.3738, allocations: 2.688 kB / 442.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.962e-05/0.3739, allocations: 59 kB / 442.3 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.3744, allocations: 236.4 kB / 442.6 MB, free: 36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.3747, allocations: 187 kB / 442.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006118/0.3753, allocations: 0.6717 MB / 443.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004533/0.3757, allocations: 387.1 kB / 443.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.3761, allocations: 366 kB / 444.2 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.3765, allocations: 415.7 kB / 444.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.926e-05/0.3766, allocations: 47.75 kB / 444.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3767, allocations: 47.66 kB / 444.7 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.3768, allocations: 150.5 kB / 444.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.377, allocations: 170.2 kB / 445 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006329/0.3776, allocations: 0.7367 MB / 445.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3776, allocations: 0 / 445.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.187e-05/0.3777, allocations: 0 / 445.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.3777, allocations: 0 / 445.7 MB, free: 34.76 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.002287/0.38, allocations: 0.8758 MB / 446.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.38, allocations: 11 kB / 446.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.3802, allocations: 130.1 kB / 446.7 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.3803, allocations: 70.38 kB / 446.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.3805, allocations: 234.5 kB / 447 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.3805, allocations: 65.38 kB / 447.1 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3807, allocations: 74.75 kB / 447.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.3818, allocations: 0.7257 MB / 447.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3818, allocations: 2.875 kB / 447.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.3819, allocations: 35.38 kB / 447.9 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3819, allocations: 17.78 kB / 447.9 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.383, allocations: 0.7475 MB / 448.7 MB, free: 33.16 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.002973/0.386, allocations: 2.069 MB / 450.7 MB, free: 32.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.388, allocations: 0.9728 MB / 451.7 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.141e-05/0.3881, allocations: 21.56 kB / 451.7 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.3882, allocations: 42.12 kB / 451.8 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003809/0.3886, allocations: 101.5 kB / 451.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 2.655e-06/0.3886, allocations: 0 / 451.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01418/0.4028, allocations: 4.173 MB / 456.1 MB, free: 29.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.4029, allocations: 63.88 kB / 456.1 MB, free: 29.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.4031, allocations: 216.6 kB / 456.3 MB, free: 29.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/0.4032, allocations: 49.73 kB / 456.4 MB, free: 29.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.4034, allocations: 222.7 kB / 456.6 MB, free: 29.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.4036, allocations: 396.4 kB / 457 MB, free: 29.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.4037, allocations: 20.12 kB / 457 MB, free: 29.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4038, allocations: 357.5 kB / 457.3 MB, free: 28.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/0.4044, allocations: 316.9 kB / 457.7 MB, free: 28.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/0.405, allocations: 388 kB / 458 MB, free: 28.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006893/0.4057, allocations: 386.4 kB / 458.4 MB, free: 28.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4057, allocations: 1.188 kB / 458.4 MB, free: 28.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004953/0.4107, allocations: 1.491 MB / 459.9 MB, free: 27.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.4107, allocations: 6.062 kB / 459.9 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4107, allocations: 4 kB / 459.9 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004765/0.4155, allocations: 0.776 MB / 460.7 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005695/0.4212, allocations: 0.7321 MB / 461.4 MB, free: 27.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/0.4388, allocations: 15.05 MB / 476.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000963/0.4398, allocations: 49.16 kB / 476.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.44, allocations: 36.64 kB / 476.6 MB, free: 14.01 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.0005941/0.4406, allocations: 231.6 kB / 476.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.4407, allocations: 54 kB / 476.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/0.4454, allocations: 1.66 MB / 478.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.4454, allocations: 12.38 kB / 478.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.4454, allocations: 5.375 kB / 478.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/0.4455, allocations: 5.812 kB / 478.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00694/0.4524, allocations: 2.972 MB / 481.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.073e-05/0.4525, allocations: 9.094 kB / 481.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004933/0.4574, allocations: 0.6691 MB / 482.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004331/0.4618, allocations: 0.7426 MB / 482.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002871/0.4621, allocations: 34.77 kB / 482.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/0.4779, allocations: 14.72 MB / 497.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.551e-05/0.4779, allocations: 14.75 kB / 497.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006279/0.4842, allocations: 2.706 MB / 0.4887 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.4847, allocations: 141.2 kB / 0.4888 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.4849, allocations: 36.05 kB / 0.4888 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/0.4858, allocations: 59.86 kB / 0.4889 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004158/0.4862, allocations: 132.6 kB / 0.489 GB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.4864, allocations: 43.98 kB / 0.4891 GB, free: 11.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.4866, allocations: 172.1 kB / 0.4892 GB, free: 10.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4866, allocations: 0 / 0.4892 GB, free: 10.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00176/0.4883, allocations: 272 kB / 0.4895 GB, free: 10.6 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.007283/0.4956, allocations: 5.979 MB / 0.4953 GB, free: 4.312 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.007888/0.5036, allocations: 1.993 MB / 0.4973 GB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.5036, allocations: 0 / 0.4973 GB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006623/0.5102, allocations: 1.647 MB / 0.4989 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.5115, allocations: 165.5 kB / 0.499 GB, free: 444 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.5228, allocations: 4.788 MB / 0.5037 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/0.5235, allocations: 0.9414 MB / 0.5046 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007025/0.5242, allocations: 93.19 kB / 0.5047 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.5247, allocations: 219.4 kB / 0.5049 GB, free: 10.19 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5247, allocations: 0 / 0.5049 GB, free: 10.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.5634, allocations: 19.47 MB / 0.5239 GB, free: 6.973 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.5636, allocations: 193.1 kB / 0.5241 GB, free: 6.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/2.981, allocations: 0 / 0.5241 GB, free: 6.73 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_002_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_002.fmu > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1) Environment - environmentSimulation: