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.7916/0.7916, allocations: 133.7 MB / 148.6 MB, free: 13.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001319/0.001319, allocations: 176.1 kB / 180.9 MB, free: 15.08 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.474/1.474, allocations: 170.7 MB / 383.7 MB, free: 16.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001645/0.001645, allocations: 107.3 kB / 454.6 MB, free: 9.75 MB / 346.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.2049/0.2055, allocations: 73.42 MB / 0.6812 GB, free: 5.559 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.08/13.28, allocations: 4.628 GB / 5.309 GB, free: 161.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/13.28, allocations: 87.41 kB / 5.309 GB, free: 161.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.9082/14.19, allocations: 250.8 MB / 5.554 GB, free: 132.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.955e-06/14.19, allocations: 0 / 5.554 GB, free: 132.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.638e-05/14.19, allocations: 8.094 kB / 5.554 GB, free: 132.4 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.002219/14.19, allocations: 0.7922 MB / 5.555 GB, free: 131.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/14.19, allocations: 9.688 kB / 5.555 GB, free: 131.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/14.19, allocations: 53.66 kB / 5.555 GB, free: 131.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/14.2, allocations: 326.9 kB / 5.555 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/14.2, allocations: 30.7 kB / 5.555 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/14.2, allocations: 35.72 kB / 5.556 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008222/14.2, allocations: 398.6 kB / 5.556 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/14.2, allocations: 3.938 kB / 5.556 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/14.2, allocations: 16.97 kB / 5.556 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/14.2, allocations: 12.62 kB / 5.556 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007177/14.2, allocations: 381 kB / 5.556 GB, free: 131.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/14.2, allocations: 1.576 MB / 5.558 GB, free: 130.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/14.2, allocations: 287.4 kB / 5.558 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/14.2, allocations: 8.188 kB / 5.558 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/14.2, allocations: 37.81 kB / 5.558 GB, free: 130 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/14.2, allocations: 0 / 5.558 GB, free: 130 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.004672/14.21, allocations: 1.83 MB / 5.56 GB, free: 129 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/14.21, allocations: 60.38 kB / 5.56 GB, free: 129 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/14.21, allocations: 293 kB / 5.56 GB, free: 128.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/14.21, allocations: 37.45 kB / 5.56 GB, free: 128.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/14.21, allocations: 185.3 kB / 5.561 GB, free: 128.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/14.21, allocations: 148.1 kB / 5.561 GB, free: 128.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/14.21, allocations: 9.5 kB / 5.561 GB, free: 128.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001384/14.21, allocations: 349.2 kB / 5.561 GB, free: 128.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/14.21, allocations: 161.6 kB / 5.561 GB, free: 128.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/14.21, allocations: 210 kB / 5.561 GB, free: 128 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/14.21, allocations: 199 kB / 5.562 GB, free: 127.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/14.21, allocations: 1.375 kB / 5.562 GB, free: 127.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009167/14.21, allocations: 0.5394 MB / 5.562 GB, free: 127.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/14.21, allocations: 6.781 kB / 5.562 GB, free: 127.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/14.21, allocations: 0 / 5.562 GB, free: 127.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/14.21, allocations: 90.84 kB / 5.562 GB, free: 127.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/14.21, allocations: 127.7 kB / 5.562 GB, free: 127.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/14.21, allocations: 4.183 MB / 5.566 GB, free: 123.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/14.21, allocations: 46.72 kB / 5.566 GB, free: 123.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/14.21, allocations: 18.28 kB / 5.566 GB, free: 123.5 MB / 0.6198 GB 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 (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.000346/14.21, allocations: 181.3 kB / 5.567 GB, free: 123.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/14.21, allocations: 35.44 kB / 5.567 GB, free: 123.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/14.21, allocations: 52.03 kB / 5.567 GB, free: 123.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/14.21, allocations: 4.812 kB / 5.567 GB, free: 123.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/14.21, allocations: 0 / 5.567 GB, free: 123.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001068/14.21, allocations: 0.658 MB / 5.567 GB, free: 122.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/14.22, allocations: 1.129 MB / 5.568 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/14.22, allocations: 8.344 kB / 5.568 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/14.22, allocations: 119.2 kB / 5.569 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/14.22, allocations: 59.83 kB / 5.569 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/14.22, allocations: 15.41 kB / 5.569 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/14.22, allocations: 1.565 MB / 5.57 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/14.22, allocations: 1.219 kB / 5.57 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/14.22, allocations: 0.8213 MB / 5.571 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/14.22, allocations: 172.1 kB / 5.571 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/14.22, allocations: 8.188 kB / 5.571 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/14.22, allocations: 37.62 kB / 5.571 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/14.22, allocations: 31.44 kB / 5.571 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/14.22, allocations: 22.55 kB / 5.571 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004176/14.22, allocations: 229.2 kB / 5.571 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/14.22, allocations: 1 kB / 5.571 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001873/14.23, allocations: 227.3 kB / 5.572 GB, free: 119.7 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 () * Number of clocked 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.002166/14.23, allocations: 1.009 MB / 5.573 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001709/14.23, allocations: 0.7433 MB / 5.573 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/14.23, allocations: 0 / 5.573 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000732/14.23, allocations: 339.8 kB / 5.574 GB, free: 118.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/14.23, allocations: 238 kB / 5.574 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/14.24, allocations: 1.314 MB / 5.575 GB, free: 117.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/14.24, allocations: 0.8352 MB / 5.576 GB, free: 117.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000743/14.24, allocations: 97.45 kB / 5.576 GB, free: 117.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/14.24, allocations: 34.66 kB / 5.576 GB, free: 117.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/14.24, allocations: 0 / 5.576 GB, free: 117.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.04954/14.29, allocations: 22.15 MB / 5.598 GB, free: 113.7 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)