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.7805/0.7805, allocations: 132.4 MB / 139.9 MB, free: 2.844 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.001036/0.001036, allocations: 168.1 kB / 171.8 MB, free: 4.965 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.342/1.342, allocations: 170.6 MB / 374.2 MB, free: 160 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.001642/0.001642, allocations: 116.7 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.1846/0.1847, allocations: 73.41 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.19/12.37, allocations: 4.627 GB / 5.294 GB, free: 180.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/12.37, allocations: 81.5 kB / 5.294 GB, free: 180.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.9504/13.32, allocations: 247.6 MB / 5.536 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.278e-06/13.32, allocations: 1.25 kB / 5.536 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.246e-05/13.32, allocations: 11.34 kB / 5.536 GB, free: 154.3 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.003387/13.33, allocations: 0.7503 MB / 5.537 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/13.33, allocations: 10.25 kB / 5.537 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006386/13.33, allocations: 53.22 kB / 5.537 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008434/13.33, allocations: 320.7 kB / 5.537 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/13.33, allocations: 17.64 kB / 5.537 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/13.33, allocations: 21.44 kB / 5.537 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007769/13.33, allocations: 361.2 kB / 5.537 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006959/13.33, allocations: 329.4 kB / 5.538 GB, free: 153.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/13.33, allocations: 0 / 5.538 GB, free: 153.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/13.33, allocations: 0 / 5.538 GB, free: 153.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/13.33, allocations: 14.92 kB / 5.538 GB, free: 153.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/13.33, allocations: 1.484 MB / 5.539 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/13.33, allocations: 264.7 kB / 5.539 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/13.33, allocations: 140.2 kB / 5.54 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.085e-05/13.33, allocations: 6.812 kB / 5.54 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/13.33, allocations: 41.7 kB / 5.54 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.477e-06/13.33, allocations: 2.625 kB / 5.54 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.003221/13.34, allocations: 1.242 MB / 5.541 GB, free: 152.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/13.34, allocations: 55.25 kB / 5.541 GB, free: 152.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/13.34, allocations: 225.4 kB / 5.541 GB, free: 152.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/13.34, allocations: 25.7 kB / 5.541 GB, free: 152.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/13.34, allocations: 197.3 kB / 5.541 GB, free: 152.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/13.34, allocations: 144.5 kB / 5.541 GB, free: 152 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/13.34, allocations: 0 / 5.541 GB, free: 152 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001035/13.34, allocations: 336.7 kB / 5.542 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/13.34, allocations: 155 kB / 5.542 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/13.34, allocations: 197.9 kB / 5.542 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/13.34, allocations: 180.6 kB / 5.542 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/13.34, allocations: 0 / 5.542 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008708/13.34, allocations: 0.5037 MB / 5.543 GB, free: 151.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/13.34, allocations: 6.406 kB / 5.543 GB, free: 151.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/13.34, allocations: 0 / 5.543 GB, free: 151.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/13.34, allocations: 95.86 kB / 5.543 GB, free: 151.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/13.34, allocations: 116.3 kB / 5.543 GB, free: 151.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/13.34, allocations: 3.991 MB / 5.547 GB, free: 147.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/13.34, allocations: 30.55 kB / 5.547 GB, free: 147.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/13.34, allocations: 13.97 kB / 5.547 GB, free: 147.9 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.0002287/13.34, allocations: 130.1 kB / 5.547 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/13.34, allocations: 31.72 kB / 5.547 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/13.34, allocations: 42.72 kB / 5.547 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/13.34, allocations: 5.562 kB / 5.547 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/13.34, allocations: 3.953 kB / 5.547 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006813/13.35, allocations: 0.6234 MB / 5.548 GB, free: 147.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/13.35, allocations: 1.031 MB / 5.549 GB, free: 147.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/13.35, allocations: 0 / 5.549 GB, free: 147.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/13.35, allocations: 114.4 kB / 5.549 GB, free: 147.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/13.35, allocations: 64.45 kB / 5.549 GB, free: 147.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/13.35, allocations: 12.67 kB / 5.549 GB, free: 147.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/13.35, allocations: 1.515 MB / 5.55 GB, free: 145.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/13.35, allocations: 3.281 kB / 5.55 GB, free: 145.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009707/13.35, allocations: 0.7782 MB / 5.551 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/13.35, allocations: 167.1 kB / 5.551 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/13.35, allocations: 3.188 kB / 5.551 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/13.35, allocations: 23.78 kB / 5.551 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/13.35, allocations: 25.28 kB / 5.551 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/13.35, allocations: 23.38 kB / 5.551 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001491/13.35, allocations: 173.7 kB / 5.552 GB, free: 145.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/13.35, allocations: 1.312 kB / 5.552 GB, free: 145.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009547/13.35, allocations: 203.9 kB / 5.552 GB, free: 145.3 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.001572/13.35, allocations: 1.146 MB / 5.553 GB, free: 145.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008697/13.35, allocations: 0.6961 MB / 5.554 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/13.35, allocations: 0 / 5.554 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004172/13.35, allocations: 316.7 kB / 5.554 GB, free: 144.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/13.36, allocations: 169 kB / 5.554 GB, free: 144.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/13.36, allocations: 0.8359 MB / 5.555 GB, free: 144.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/13.36, allocations: 0.8398 MB / 5.556 GB, free: 143.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004582/13.36, allocations: 87.3 kB / 5.556 GB, free: 143.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/13.36, allocations: 35.52 kB / 5.556 GB, free: 143.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/13.36, allocations: 0 / 5.556 GB, free: 143.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.0225/13.38, allocations: 13.78 MB / 5.569 GB, free: 142.8 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)