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.001203/0.001203, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001465/0.001465, allocations: 168.7 kB / 15.95 MB, free: 204 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.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2248/0.2248, allocations: 22.35 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 8 kB / 380 MB, free: 12.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3433, allocations: 55.97 MB / 436 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.001527/0.3449, allocations: 1.472 MB / 437.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007133/0.3456, allocations: 0.6143 MB / 438.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.3457, allocations: 2.688 kB / 438.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.3457, allocations: 14.59 kB / 438.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.3458, allocations: 39.45 kB / 438.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.346, allocations: 35.5 kB / 438.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.3462, allocations: 189 kB / 438.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3463, allocations: 57.45 kB / 438.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3464, allocations: 79.06 kB / 438.5 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3466, allocations: 85.3 kB / 438.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.3466, allocations: 9.844 kB / 438.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.525e-05/0.3466, allocations: 12.84 kB / 438.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.3467, allocations: 32.48 kB / 438.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.3467, allocations: 50.8 kB / 438.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.829e-05/0.3468, allocations: 90.83 kB / 438.8 MB, free: 36.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3468, allocations: 0 / 438.8 MB, free: 36.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3468, allocations: 0 / 438.8 MB, free: 36.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.3468, allocations: 0 / 438.8 MB, free: 36.55 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.0005519/0.3474, allocations: 424.3 kB / 439.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3474, allocations: 9.469 kB / 439.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.3475, allocations: 51.66 kB / 439.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.3475, allocations: 20.59 kB / 439.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.3476, allocations: 177.7 kB / 439.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.3477, allocations: 15 kB / 439.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.3477, allocations: 12.66 kB / 439.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.348, allocations: 161.2 kB / 439.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.348, allocations: 0 / 439.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.348, allocations: 11.94 kB / 439.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.348, allocations: 5.594 kB / 439.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.3482, allocations: 123 kB / 439.8 MB, free: 35.75 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.000889/0.3491, allocations: 0.5705 MB / 440.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.3495, allocations: 188 kB / 440.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.3497, allocations: 61.77 kB / 440.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.3497, allocations: 3.719 kB / 440.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.3497, allocations: 38.7 kB / 440.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.3497, allocations: 2.938 kB / 440.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.004008/0.3537, allocations: 1.452 MB / 442.1 MB, free: 34.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.3538, allocations: 61.14 kB / 442.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.3539, allocations: 119.3 kB / 442.3 MB, free: 34.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3539, allocations: 32.39 kB / 442.3 MB, free: 34.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.3539, allocations: 106.8 kB / 442.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.354, allocations: 113.4 kB / 442.5 MB, free: 34.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.422e-05/0.354, allocations: 6.562 kB / 442.5 MB, free: 34.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.3541, allocations: 328.2 kB / 442.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3542, allocations: 85.75 kB / 442.9 MB, free: 33.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3543, allocations: 125.8 kB / 443 MB, free: 33.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3545, allocations: 96.19 kB / 443.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3545, allocations: 2.812 kB / 443.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001031/0.3555, allocations: 422.4 kB / 443.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3556, allocations: 11.19 kB / 443.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3556, allocations: 0 / 443.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008972/0.3565, allocations: 162.8 kB / 443.7 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.3575, allocations: 155 kB / 443.9 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.3606, allocations: 4.343 MB / 448.2 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.3608, allocations: 21.69 kB / 448.2 MB, free: 29.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3609, allocations: 6.156 kB / 448.2 MB, free: 29.07 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.0002404/0.3611, allocations: 155 kB / 448.4 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.3612, allocations: 23.02 kB / 448.4 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.3624, allocations: 468.9 kB / 448.9 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.3624, allocations: 2.875 kB / 448.9 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3624, allocations: 0 / 448.9 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3624, allocations: 3.375 kB / 448.9 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.3641, allocations: 0.8475 MB / 449.7 MB, free: 28.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3641, allocations: 6.953 kB / 449.7 MB, free: 28.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/0.3649, allocations: 136.6 kB / 449.9 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00171/0.3666, allocations: 313.6 kB / 450.2 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.3666, allocations: 6.719 kB / 450.2 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/0.3701, allocations: 4.557 MB / 454.7 MB, free: 23.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3701, allocations: 2.688 kB / 454.7 MB, free: 23.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.3715, allocations: 0.6572 MB / 455.4 MB, free: 23.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.3715, allocations: 87.7 kB / 455.5 MB, free: 23.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.3716, allocations: 10.81 kB / 455.5 MB, free: 23.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.3717, allocations: 9.875 kB / 455.5 MB, free: 23.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.3718, allocations: 34.56 kB / 455.5 MB, free: 23.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3718, allocations: 20.7 kB / 455.5 MB, free: 23.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.098e-05/0.3719, allocations: 88.59 kB / 455.6 MB, free: 23.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3719, allocations: 0 / 455.6 MB, free: 23.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.3724, allocations: 73.72 kB / 455.7 MB, free: 23.21 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.001496/0.3739, allocations: 1.182 MB / 456.9 MB, free: 22.34 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.001627/0.3755, allocations: 0.6339 MB / 457.5 MB, free: 21.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3755, allocations: 0 / 457.5 MB, free: 21.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.3768, allocations: 0.5178 MB / 458 MB, free: 21.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3772, allocations: 37.23 kB / 458.1 MB, free: 21.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.3796, allocations: 1.487 MB / 459.6 MB, free: 20.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.3798, allocations: 0.7338 MB / 460.3 MB, free: 20.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.3799, allocations: 29.98 kB / 460.3 MB, free: 20.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.38, allocations: 52.3 kB / 460.4 MB, free: 19.98 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.38, allocations: 0 / 460.4 MB, free: 19.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.3975, allocations: 5.02 MB / 465.4 MB, free: 19.62 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/0.3977, allocations: 194.6 kB / 465.6 MB, free: 19.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.396, allocations: 0 / 465.6 MB, free: 19.38 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: