Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8048/0.8048, allocations: 132.4 MB / 139.9 MB, free: 2.82 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001065/0.001065, allocations: 180 kB / 171.8 MB, free: 4.918 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.537/1.537, allocations: 170.6 MB / 374.2 MB, free: 192 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001736/0.001736, allocations: 98.66 kB / 444.8 MB, free: 14.16 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1521/0.1521, allocations: 73.42 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.89/12.04, allocations: 4.627 GB / 5.294 GB, free: 66.18 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/12.04, allocations: 81.78 kB / 5.294 GB, free: 66.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.025/13.07, allocations: 247.6 MB / 5.536 GB, free: 71.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/13.07, allocations: 0 / 5.536 GB, free: 71.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.288e-05/13.07, allocations: 15.98 kB / 5.536 GB, free: 71.06 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001461/13.07, allocations: 0.7526 MB / 5.537 GB, free: 70.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/13.07, allocations: 8.031 kB / 5.537 GB, free: 70.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003037/13.07, allocations: 51.52 kB / 5.537 GB, free: 70.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/13.07, allocations: 329.7 kB / 5.537 GB, free: 69.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/13.07, allocations: 12 kB / 5.537 GB, free: 69.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/13.07, allocations: 20 kB / 5.537 GB, free: 69.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005191/13.07, allocations: 361.4 kB / 5.537 GB, free: 69.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/13.07, allocations: 330.1 kB / 5.538 GB, free: 69.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/13.07, allocations: 3.906 kB / 5.538 GB, free: 69.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/13.07, allocations: 0 / 5.538 GB, free: 69.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/13.07, allocations: 12 kB / 5.538 GB, free: 69.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/13.07, allocations: 1.483 MB / 5.539 GB, free: 67.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/13.07, allocations: 258.9 kB / 5.539 GB, free: 67.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/13.07, allocations: 145.8 kB / 5.54 GB, free: 67.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/13.07, allocations: 4 kB / 5.54 GB, free: 67.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/13.07, allocations: 38.56 kB / 5.54 GB, free: 67.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/13.07, allocations: 0 / 5.54 GB, free: 67.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.002579/13.08, allocations: 1.251 MB / 5.541 GB, free: 65.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/13.08, allocations: 59.41 kB / 5.541 GB, free: 65.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/13.08, allocations: 216.5 kB / 5.541 GB, free: 65.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/13.08, allocations: 29.7 kB / 5.541 GB, free: 65.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/13.08, allocations: 196.2 kB / 5.541 GB, free: 65.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/13.08, allocations: 141.9 kB / 5.541 GB, free: 65.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/13.08, allocations: 0 / 5.541 GB, free: 65.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.092e-05/13.08, allocations: 334.8 kB / 5.542 GB, free: 64.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/13.08, allocations: 148.8 kB / 5.542 GB, free: 64.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/13.08, allocations: 195.3 kB / 5.542 GB, free: 64.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/13.08, allocations: 188.7 kB / 5.542 GB, free: 64.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/13.08, allocations: 0 / 5.542 GB, free: 64.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007675/13.08, allocations: 0.502 MB / 5.543 GB, free: 63.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/13.08, allocations: 9.094 kB / 5.543 GB, free: 63.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/13.08, allocations: 4.094 kB / 5.543 GB, free: 63.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002905/13.08, allocations: 94.45 kB / 5.543 GB, free: 63.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/13.08, allocations: 115.8 kB / 5.543 GB, free: 63.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/13.08, allocations: 3.995 MB / 5.547 GB, free: 59.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/13.08, allocations: 27.97 kB / 5.547 GB, free: 59.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/13.08, allocations: 23.92 kB / 5.547 GB, free: 59.07 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001811/13.08, allocations: 126.1 kB / 5.547 GB, free: 58.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/13.08, allocations: 39.62 kB / 5.547 GB, free: 58.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.653e-05/13.08, allocations: 35.41 kB / 5.547 GB, free: 58.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/13.08, allocations: 7.984 kB / 5.547 GB, free: 58.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/13.08, allocations: 0 / 5.547 GB, free: 58.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006245/13.08, allocations: 0.6241 MB / 5.548 GB, free: 58.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/13.08, allocations: 1.035 MB / 5.549 GB, free: 57.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/13.08, allocations: 0 / 5.549 GB, free: 57.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/13.09, allocations: 108 kB / 5.549 GB, free: 56.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/13.09, allocations: 64.81 kB / 5.549 GB, free: 56.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/13.09, allocations: 7.984 kB / 5.549 GB, free: 56.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/13.09, allocations: 1.518 MB / 5.55 GB, free: 55.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/13.09, allocations: 4.031 kB / 5.55 GB, free: 55.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008405/13.09, allocations: 0.7748 MB / 5.551 GB, free: 54.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/13.09, allocations: 160.7 kB / 5.551 GB, free: 54.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/13.09, allocations: 11.95 kB / 5.551 GB, free: 54.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/13.09, allocations: 27.97 kB / 5.551 GB, free: 54.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/13.09, allocations: 27.91 kB / 5.551 GB, free: 54.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/13.09, allocations: 23.97 kB / 5.551 GB, free: 54.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001219/13.09, allocations: 168.5 kB / 5.552 GB, free: 53.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/13.09, allocations: 0 / 5.552 GB, free: 53.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008866/13.09, allocations: 199.9 kB / 5.552 GB, free: 53.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001391/13.09, allocations: 1.158 MB / 5.553 GB, free: 52.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000802/13.09, allocations: 0.6866 MB / 5.554 GB, free: 51.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/13.09, allocations: 0 / 5.554 GB, free: 51.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003828/13.09, allocations: 314 kB / 5.554 GB, free: 51.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/13.09, allocations: 156.8 kB / 5.554 GB, free: 51.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/13.09, allocations: 0.8458 MB / 5.555 GB, free: 50.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/13.09, allocations: 0.8356 MB / 5.556 GB, free: 49.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000381/13.1, allocations: 87.2 kB / 5.556 GB, free: 49.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/13.1, allocations: 31.44 kB / 5.556 GB, free: 49.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/13.1, allocations: 0 / 5.556 GB, free: 49.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.02067/13.12, allocations: 13.79 MB / 5.569 GB, free: 35.77 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)