Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Air.MAvolume.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.ProcessComponents.Thermal.Air.MAvolume,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_MAvolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Air.MAvolume,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_MAvolume",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.001188/0.001188, 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.001333/0.001333, 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.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1909/0.1909, allocations: 22.35 MB / 313.3 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 8 kB / 379.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3542, allocations: 55.98 MB / 435.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.001677/0.356, allocations: 1.399 MB / 437.3 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.3569, allocations: 0.6142 MB / 437.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.357, allocations: 0 / 437.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.357, allocations: 11.34 kB / 437.9 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.3571, allocations: 47.81 kB / 438 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.3573, allocations: 43.27 kB / 438 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.3574, allocations: 129.3 kB / 438.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3576, allocations: 65.91 kB / 438.2 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3577, allocations: 80.83 kB / 438.3 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.3578, allocations: 78.05 kB / 438.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.3579, allocations: 8.125 kB / 438.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.721e-05/0.3579, allocations: 14.66 kB / 438.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.3579, allocations: 29.59 kB / 438.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.3579, allocations: 51.08 kB / 438.5 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.358, allocations: 90.39 kB / 438.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.3581, allocations: 2.844 kB / 438.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3581, allocations: 4 kB / 438.5 MB, free: 36.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3581, allocations: 0 / 438.5 MB, free: 36.58 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005083/0.3586, allocations: 420.8 kB / 439 MB, free: 36.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3586, allocations: 12.72 kB / 439 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.3587, allocations: 47.39 kB / 439 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.3587, allocations: 22.25 kB / 439 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.285e-05/0.3588, allocations: 174.9 kB / 439.2 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3588, allocations: 17.92 kB / 439.2 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.3589, allocations: 15.34 kB / 439.2 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3591, allocations: 155.2 kB / 439.4 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3591, allocations: 0 / 439.4 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.3591, allocations: 8 kB / 439.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3591, allocations: 5.812 kB / 439.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.3593, allocations: 120.7 kB / 439.5 MB, free: 35.79 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.0007645/0.3601, allocations: 0.5747 MB / 440.1 MB, free: 35.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.3604, allocations: 190.9 kB / 440.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3605, allocations: 2.844 kB / 440.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.3605, allocations: 41.08 kB / 440.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.244e-06/0.3605, allocations: 3.984 kB / 440.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.003925/0.3644, allocations: 1.447 MB / 441.8 MB, free: 34.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.3645, allocations: 62.11 kB / 441.8 MB, free: 34.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.3645, allocations: 109.5 kB / 441.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3646, allocations: 29.7 kB / 442 MB, free: 34.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.3646, allocations: 113.1 kB / 442.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.3647, allocations: 118.4 kB / 442.2 MB, free: 34.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.3647, allocations: 7.938 kB / 442.2 MB, free: 34.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.3648, allocations: 324.4 kB / 442.5 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.365, allocations: 86.03 kB / 442.6 MB, free: 33.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.3651, allocations: 123.8 kB / 442.7 MB, free: 33.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.3653, allocations: 103.8 kB / 442.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3653, allocations: 0 / 442.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001031/0.3663, allocations: 417.6 kB / 443.2 MB, free: 33.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3663, allocations: 5.844 kB / 443.2 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3664, allocations: 4.094 kB / 443.3 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009245/0.3673, allocations: 157.8 kB / 443.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/0.3683, allocations: 160.5 kB / 443.6 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.3714, allocations: 4.37 MB / 447.9 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.3716, allocations: 21.34 kB / 448 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3716, allocations: 11.94 kB / 448 MB, free: 29.12 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real p:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = 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: 4 * 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 (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.3718, allocations: 147.6 kB / 448.1 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.3719, allocations: 20.86 kB / 448.1 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.3731, allocations: 468.5 kB / 448.6 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3731, allocations: 6.812 kB / 448.6 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3731, allocations: 2.906 kB / 448.6 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3731, allocations: 3.938 kB / 448.6 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.3747, allocations: 0.8444 MB / 449.4 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3747, allocations: 2.812 kB / 449.4 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008387/0.3755, allocations: 136.2 kB / 449.6 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/0.3774, allocations: 317.3 kB / 449.9 MB, free: 28.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.3774, allocations: 10.81 kB / 449.9 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003521/0.3809, allocations: 4.586 MB / 454.5 MB, free: 23.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.381, allocations: 6.328 kB / 454.5 MB, free: 23.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.3823, allocations: 0.6759 MB / 455.2 MB, free: 23.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.3823, allocations: 91.45 kB / 455.3 MB, free: 23.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3824, allocations: 6.812 kB / 455.3 MB, free: 23.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3826, allocations: 13.69 kB / 455.3 MB, free: 23.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.3826, allocations: 37.73 kB / 455.3 MB, free: 23.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.3827, allocations: 11.62 kB / 455.3 MB, free: 23.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.333e-05/0.3827, allocations: 86.02 kB / 455.4 MB, free: 23.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3827, allocations: 0 / 455.4 MB, free: 23.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004724/0.3832, allocations: 72.34 kB / 455.5 MB, free: 23.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (Ma,p,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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 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: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001504/0.3847, allocations: 1.362 MB / 456.8 MB, free: 22.17 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.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.001653/0.3864, allocations: 0.6227 MB / 457.5 MB, free: 21.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3864, allocations: 4 kB / 457.5 MB, free: 21.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.3877, allocations: 0.5146 MB / 458 MB, free: 21.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.388, allocations: 32.09 kB / 458 MB, free: 21.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.3904, allocations: 1.945 MB / 460 MB, free: 20.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.3905, allocations: 0.7428 MB / 460.7 MB, free: 19.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.3907, allocations: 18.61 kB / 460.7 MB, free: 19.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/0.3907, allocations: 59.06 kB / 460.8 MB, free: 19.36 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.3908, allocations: 0 / 460.8 MB, free: 19.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.192/2.582, allocations: 5.001 MB / 465.8 MB, free: 19 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/2.583, allocations: 190.6 kB / 466 MB, free: 18.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/4.748, allocations: 0 / 466 MB, free: 18.77 MB / 350.1 MB (rm -f AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Air.MAvolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Thermal_Air_MAvolume_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Thermal_Air_MAvolume.fmu > AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe 2>&1) Environment - environmentSimulation: