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.6931/0.6931, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.001063/0.001063, allocations: 176.5 kB / 176.9 MB, free: 2.262 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.134/1.134, allocations: 170.5 MB / 379.3 MB, free: 11.91 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.001443/0.001443, allocations: 124.3 kB / 450 MB, free: 5.863 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.3499/0.35, allocations: 73.39 MB / 0.6736 GB, free: 48.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.64/9.99, allocations: 4.628 GB / 5.302 GB, free: 75.58 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/9.991, allocations: 85.45 kB / 5.302 GB, free: 75.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.7902/10.78, allocations: 250.4 MB / 5.546 GB, free: 78.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/10.78, allocations: 0 / 5.546 GB, free: 78.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.015e-05/10.78, allocations: 8 kB / 5.546 GB, free: 78.71 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.001333/10.78, allocations: 0.7499 MB / 5.547 GB, free: 77.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/10.78, allocations: 8.031 kB / 5.547 GB, free: 77.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/10.78, allocations: 55.52 kB / 5.547 GB, free: 77.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/10.78, allocations: 322 kB / 5.547 GB, free: 77.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/10.78, allocations: 28.78 kB / 5.547 GB, free: 77.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/10.78, allocations: 39.91 kB / 5.547 GB, free: 77.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/10.78, allocations: 391.6 kB / 5.548 GB, free: 77.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/10.78, allocations: 4 kB / 5.548 GB, free: 77.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/10.78, allocations: 20 kB / 5.548 GB, free: 77.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/10.78, allocations: 11.94 kB / 5.548 GB, free: 77.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/10.78, allocations: 371 kB / 5.548 GB, free: 76.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/10.79, allocations: 1.586 MB / 5.55 GB, free: 74.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/10.79, allocations: 269 kB / 5.55 GB, free: 74.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/10.79, allocations: 157.8 kB / 5.55 GB, free: 74.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/10.79, allocations: 7.984 kB / 5.55 GB, free: 74.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/10.79, allocations: 38.56 kB / 5.55 GB, free: 74.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.913e-06/10.79, allocations: 3.938 kB / 5.55 GB, free: 74.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.003216/10.79, allocations: 1.421 MB / 5.552 GB, free: 72.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/10.79, allocations: 67.3 kB / 5.552 GB, free: 72.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/10.79, allocations: 283.4 kB / 5.552 GB, free: 72.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/10.79, allocations: 37.7 kB / 5.552 GB, free: 72.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/10.79, allocations: 192.4 kB / 5.552 GB, free: 72.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.255e-05/10.79, allocations: 141.9 kB / 5.552 GB, free: 72.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/10.79, allocations: 12 kB / 5.552 GB, free: 72.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/10.79, allocations: 342.8 kB / 5.553 GB, free: 71.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/10.79, allocations: 156.8 kB / 5.553 GB, free: 71.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/10.79, allocations: 212.2 kB / 5.553 GB, free: 71.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/10.79, allocations: 189.6 kB / 5.553 GB, free: 71.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/10.79, allocations: 4 kB / 5.553 GB, free: 71.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007721/10.79, allocations: 0.5411 MB / 5.554 GB, free: 70.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/10.79, allocations: 8 kB / 5.554 GB, free: 70.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/10.79, allocations: 0 / 5.554 GB, free: 70.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/10.79, allocations: 98.45 kB / 5.554 GB, free: 70.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/10.79, allocations: 115.9 kB / 5.554 GB, free: 70.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/10.8, allocations: 4.156 MB / 5.558 GB, free: 65.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/10.8, allocations: 40.02 kB / 5.558 GB, free: 65.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/10.8, allocations: 16 kB / 5.558 GB, free: 65.91 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 () * 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.0001225/10.8, allocations: 136.8 kB / 5.558 GB, free: 65.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/10.8, allocations: 43.52 kB / 5.558 GB, free: 65.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/10.8, allocations: 47.22 kB / 5.558 GB, free: 65.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/10.8, allocations: 7.984 kB / 5.558 GB, free: 65.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/10.8, allocations: 0 / 5.558 GB, free: 65.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006682/10.8, allocations: 0.6479 MB / 5.559 GB, free: 64.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/10.8, allocations: 1.118 MB / 5.56 GB, free: 63.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/10.8, allocations: 4 kB / 5.56 GB, free: 63.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/10.8, allocations: 116 kB / 5.56 GB, free: 63.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/10.8, allocations: 60.81 kB / 5.56 GB, free: 63.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/10.8, allocations: 11.98 kB / 5.56 GB, free: 63.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008984/10.8, allocations: 1.556 MB / 5.562 GB, free: 61.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/10.8, allocations: 96 / 5.562 GB, free: 61.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008965/10.8, allocations: 0.8248 MB / 5.562 GB, free: 60.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/10.8, allocations: 172.6 kB / 5.563 GB, free: 60.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/10.8, allocations: 11.98 kB / 5.563 GB, free: 60.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/10.8, allocations: 31.98 kB / 5.563 GB, free: 60.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/10.8, allocations: 28.14 kB / 5.563 GB, free: 60.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/10.8, allocations: 19.98 kB / 5.563 GB, free: 60.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001825/10.8, allocations: 231 kB / 5.563 GB, free: 60.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/10.8, allocations: 4 kB / 5.563 GB, free: 60.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008189/10.8, allocations: 227.9 kB / 5.563 GB, free: 60.26 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.00104/10.8, allocations: 1.01 MB / 5.564 GB, free: 59.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008689/10.8, allocations: 0.7363 MB / 5.565 GB, free: 58.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/10.8, allocations: 0 / 5.565 GB, free: 58.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/10.8, allocations: 319.1 kB / 5.565 GB, free: 58.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/10.81, allocations: 241 kB / 5.565 GB, free: 57.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/10.81, allocations: 0.8763 MB / 5.566 GB, free: 56.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/10.81, allocations: 0.843 MB / 5.567 GB, free: 56.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003669/10.81, allocations: 99.33 kB / 5.567 GB, free: 56.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/10.81, allocations: 39.42 kB / 5.567 GB, free: 55.98 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/10.81, allocations: 0 / 5.567 GB, free: 55.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.02627/10.83, allocations: 25.01 MB / 5.592 GB, free: 30.96 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)