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.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001016/0.001016, allocations: 196.9 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1836/0.1836, allocations: 22.34 MB / 312.3 MB, free: 12.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 67.89 kB / 378.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2095, allocations: 54.93 MB / 433.1 MB, free: 38.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.00188/0.2114, allocations: 1.864 MB / 434.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000584/0.212, allocations: 0.653 MB / 435.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.212, allocations: 0 / 435.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.2121, allocations: 13.23 kB / 435.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.363e-05/0.2121, allocations: 43.81 kB / 435.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.2123, allocations: 44.14 kB / 435.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2124, allocations: 188.1 kB / 435.9 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.2125, allocations: 59.69 kB / 435.9 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.2126, allocations: 94.5 kB / 436 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.2127, allocations: 78.62 kB / 436.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.2127, allocations: 9.5 kB / 436.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.579e-05/0.2127, allocations: 8.469 kB / 436.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.2127, allocations: 28.12 kB / 436.2 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.2128, allocations: 70.81 kB / 436.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.905e-05/0.2129, allocations: 139.6 kB / 436.4 MB, free: 36.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2129, allocations: 0 / 436.4 MB, free: 36.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.2129, allocations: 0 / 436.4 MB, free: 36.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.2129, allocations: 0 / 436.4 MB, free: 36.54 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.000479/0.2134, allocations: 442.5 kB / 436.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.2134, allocations: 13.72 kB / 436.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.2135, allocations: 53.52 kB / 436.9 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.2135, allocations: 14.69 kB / 436.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.374e-05/0.2136, allocations: 182.3 kB / 437.1 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2136, allocations: 19.5 kB / 437.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.2136, allocations: 26.77 kB / 437.1 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.2138, allocations: 157.7 kB / 437.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.2138, allocations: 0 / 437.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2139, allocations: 6.719 kB / 437.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2139, allocations: 2.25 kB / 437.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.214, allocations: 126.6 kB / 437.4 MB, free: 35.72 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.0006812/0.2147, allocations: 0.5706 MB / 438 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.2151, allocations: 188.9 kB / 438.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.2152, allocations: 65.41 kB / 438.2 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.2152, allocations: 0 / 438.2 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.2152, allocations: 36.77 kB / 438.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 9.52e-07/0.2152, allocations: 3.938 kB / 438.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.003956/0.2192, allocations: 1.43 MB / 439.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.562e-05/0.2192, allocations: 54.44 kB / 439.7 MB, free: 34.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.408e-05/0.2193, allocations: 117.3 kB / 439.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.2193, allocations: 32.23 kB / 439.9 MB, free: 34.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.2193, allocations: 106.7 kB / 440 MB, free: 34.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.2194, allocations: 117.1 kB / 440.1 MB, free: 34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/0.2194, allocations: 58.36 kB / 440.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.2195, allocations: 324.4 kB / 440.5 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.2196, allocations: 85.48 kB / 440.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.2197, allocations: 129.6 kB / 440.7 MB, free: 33.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003927/0.2237, allocations: 0.8301 MB / 441.5 MB, free: 33.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2237, allocations: 0 / 441.5 MB, free: 33.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000961/0.2246, allocations: 410.8 kB / 441.9 MB, free: 33.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.2247, allocations: 9.5 kB / 441.9 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2247, allocations: 14.12 kB / 441.9 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007796/0.2254, allocations: 144 kB / 442.1 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.2265, allocations: 159.3 kB / 442.2 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.2292, allocations: 4.324 MB / 446.5 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.2294, allocations: 11.47 kB / 446.6 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.2294, allocations: 14.34 kB / 446.6 MB, free: 28.84 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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 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 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.2296, allocations: 153 kB / 446.7 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.2296, allocations: 14.97 kB / 446.7 MB, free: 28.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.2308, allocations: 478.2 kB / 447.2 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2308, allocations: 2.688 kB / 447.2 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2308, allocations: 3.234 kB / 447.2 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2308, allocations: 2.688 kB / 447.2 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.2323, allocations: 0.8443 MB / 448.1 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2323, allocations: 0 / 448.1 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009217/0.2333, allocations: 135.5 kB / 448.2 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/0.235, allocations: 294.5 kB / 448.5 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.235, allocations: 10.2 kB / 448.5 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.2381, allocations: 4.537 MB / 453 MB, free: 23.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2381, allocations: 4.062 kB / 453 MB, free: 23.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.2394, allocations: 0.6352 MB / 453.7 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.2394, allocations: 91.97 kB / 453.8 MB, free: 23.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.2394, allocations: 15.92 kB / 453.8 MB, free: 23.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.2396, allocations: 6.844 kB / 453.8 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.2397, allocations: 35.08 kB / 453.8 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.2397, allocations: 5.594 kB / 453.8 MB, free: 23.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.252e-05/0.2397, allocations: 88.66 kB / 453.9 MB, free: 23.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2397, allocations: 0 / 453.9 MB, free: 23.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.2401, allocations: 75.59 kB / 454 MB, free: 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001443/0.2416, allocations: 1.198 MB / 455.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.2431, allocations: 0.603 MB / 455.8 MB, free: 21.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2431, allocations: 4 kB / 455.8 MB, free: 21.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.2444, allocations: 0.5025 MB / 456.3 MB, free: 21.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.2448, allocations: 40.52 kB / 456.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.2479, allocations: 2.66 MB / 459 MB, free: 19.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.248, allocations: 0.7315 MB / 459.7 MB, free: 18.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.2481, allocations: 22.98 kB / 459.7 MB, free: 18.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.2482, allocations: 56.06 kB / 459.8 MB, free: 18.73 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2482, allocations: 3.938 kB / 459.8 MB, free: 18.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.2631, allocations: 5.165 MB / 465 MB, free: 18.28 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.2632, allocations: 216.5 kB / 465.2 MB, free: 18.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.961, allocations: 0 / 465.2 MB, free: 18.02 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/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)