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.001339/0.001339, 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.001777/0.001777, allocations: 199.2 kB / 16.14 MB, free: 6.703 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.111/1.111, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1627/0.1627, allocations: 22.36 MB / 312.3 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 67.89 kB / 378.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1806, allocations: 54.95 MB / 433.1 MB, free: 38.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.00182/0.1824, allocations: 1.862 MB / 435 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005532/0.183, allocations: 0.6606 MB / 435.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.1831, allocations: 0 / 435.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.1831, allocations: 7.266 kB / 435.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.478e-05/0.1832, allocations: 44.12 kB / 435.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.1833, allocations: 38.97 kB / 435.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1834, allocations: 195.5 kB / 435.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.1835, allocations: 57.98 kB / 436 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.083e-05/0.1836, allocations: 86.34 kB / 436.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.1837, allocations: 84.36 kB / 436.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1837, allocations: 8.625 kB / 436.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.482e-05/0.1838, allocations: 9.156 kB / 436.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.1838, allocations: 31.91 kB / 436.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.1838, allocations: 75.67 kB / 436.3 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.238e-05/0.1839, allocations: 133.9 kB / 436.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.184, allocations: 0 / 436.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.184, allocations: 0 / 436.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.184, allocations: 2.781 kB / 436.4 MB, free: 36.38 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.0004606/0.1844, allocations: 442.2 kB / 436.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.1845, allocations: 14.69 kB / 436.8 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.1845, allocations: 51.34 kB / 436.9 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.1845, allocations: 16.59 kB / 436.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.038e-05/0.1846, allocations: 182.8 kB / 437.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1846, allocations: 13.56 kB / 437.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1846, allocations: 22.97 kB / 437.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1848, allocations: 163.7 kB / 437.3 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1848, allocations: 0 / 437.3 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1849, allocations: 4 kB / 437.3 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1849, allocations: 7.781 kB / 437.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.185, allocations: 124.8 kB / 437.4 MB, free: 35.56 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.0006447/0.1857, allocations: 0.5665 MB / 438 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.186, allocations: 184 kB / 438.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.48e-05/0.1861, allocations: 69.97 kB / 438.2 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1861, allocations: 3.062 kB / 438.2 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.478e-06/0.1862, allocations: 33.59 kB / 438.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.092e-06/0.1862, allocations: 0 / 438.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.003718/0.1899, allocations: 1.434 MB / 439.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.439e-05/0.1899, allocations: 54.22 kB / 439.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.107e-05/0.1899, allocations: 113.9 kB / 439.9 MB, free: 34.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.19, allocations: 32.42 kB / 439.9 MB, free: 34.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.19, allocations: 107.3 kB / 440 MB, free: 33.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.19, allocations: 119.9 kB / 440.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.1901, allocations: 52.28 kB / 440.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.18e-05/0.1902, allocations: 329.2 kB / 440.5 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.1903, allocations: 86.84 kB / 440.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1904, allocations: 128.5 kB / 440.7 MB, free: 33.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.1941, allocations: 0.8304 MB / 441.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1941, allocations: 3.344 kB / 441.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009064/0.1951, allocations: 407.2 kB / 441.9 MB, free: 32.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.1951, allocations: 2.969 kB / 441.9 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1951, allocations: 11.12 kB / 441.9 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007382/0.1958, allocations: 149.6 kB / 442.1 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.1968, allocations: 157.6 kB / 442.2 MB, free: 32.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.1994, allocations: 4.321 MB / 446.6 MB, free: 28.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1996, allocations: 9.906 kB / 446.6 MB, free: 28.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.1996, allocations: 8.688 kB / 446.6 MB, free: 28.69 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.0001482/0.1997, allocations: 155.4 kB / 446.7 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.1998, allocations: 14.84 kB / 446.7 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.201, allocations: 482.5 kB / 447.2 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.201, allocations: 6.859 kB / 447.2 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.201, allocations: 2.812 kB / 447.2 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.201, allocations: 3.188 kB / 447.2 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.2024, allocations: 0.8426 MB / 448.1 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2024, allocations: 2.812 kB / 448.1 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/0.2033, allocations: 129.7 kB / 448.2 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.2049, allocations: 304.4 kB / 448.5 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.2049, allocations: 6.594 kB / 448.5 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.2078, allocations: 4.534 MB / 453 MB, free: 23.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2078, allocations: 5.906 kB / 453 MB, free: 23.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.209, allocations: 0.6361 MB / 453.7 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.2091, allocations: 93.61 kB / 453.8 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.2091, allocations: 6.906 kB / 453.8 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.2093, allocations: 13.28 kB / 453.8 MB, free: 22.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.2093, allocations: 35.89 kB / 453.8 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.2093, allocations: 3.938 kB / 453.8 MB, free: 22.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.094e-05/0.2094, allocations: 88.16 kB / 453.9 MB, free: 22.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2094, allocations: 0 / 453.9 MB, free: 22.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.2097, allocations: 75.47 kB / 454 MB, free: 22.84 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.001319/0.2111, allocations: 1.202 MB / 455.2 MB, free: 21.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.2125, allocations: 0.5974 MB / 455.8 MB, free: 21.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2125, allocations: 4 kB / 455.8 MB, free: 21.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.2137, allocations: 0.509 MB / 456.3 MB, free: 21.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.214, allocations: 37.06 kB / 456.3 MB, free: 21.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.217, allocations: 2.653 MB / 459 MB, free: 19.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.2171, allocations: 0.7315 MB / 459.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.2173, allocations: 30.89 kB / 459.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.2173, allocations: 52.62 kB / 459.8 MB, free: 18.58 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2173, allocations: 0 / 459.8 MB, free: 18.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.2314, allocations: 5.168 MB / 465 MB, free: 18.12 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.2316, allocations: 211.4 kB / 465.2 MB, free: 17.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/1.783, allocations: 4 kB / 465.2 MB, free: 17.87 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)