Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8236/0.8236, allocations: 132.4 MB / 139.9 MB, free: 2.789 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.001166/0.001166, allocations: 179.5 kB / 171.8 MB, free: 4.93 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.377/1.377, 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.001634/0.001635, allocations: 117.2 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.1626/0.1627, allocations: 73.42 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.16/12.33, allocations: 4.625 GB / 5.291 GB, free: 68.38 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/12.33, allocations: 79.95 kB / 5.291 GB, free: 68.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.06338/12.39, allocations: 35.79 MB / 5.326 GB, free: 32.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/12.39, allocations: 0 / 5.326 GB, free: 32.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.981e-06/12.39, allocations: 0 / 5.326 GB, free: 32.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002641/12.39, allocations: 354.4 kB / 5.327 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/12.39, allocations: 16.02 kB / 5.327 GB, free: 31.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/12.39, allocations: 4 kB / 5.327 GB, free: 31.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/12.39, allocations: 167 kB / 5.327 GB, free: 31.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/12.39, allocations: 0 / 5.327 GB, free: 31.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/12.39, allocations: 8.609 kB / 5.327 GB, free: 31.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.987e-05/12.39, allocations: 15.98 kB / 5.327 GB, free: 31.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/12.39, allocations: 37.69 kB / 5.327 GB, free: 31.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/12.39, allocations: 4 kB / 5.327 GB, free: 31.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/12.39, allocations: 7.938 kB / 5.327 GB, free: 31.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/12.39, allocations: 0 / 5.327 GB, free: 31.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/12.39, allocations: 146 kB / 5.327 GB, free: 31.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.233e-05/12.39, allocations: 50.56 kB / 5.327 GB, free: 31.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/12.39, allocations: 12.86 kB / 5.327 GB, free: 31.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/12.39, allocations: 4 kB / 5.327 GB, free: 31.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/12.39, allocations: 34.56 kB / 5.327 GB, free: 31.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/12.39, allocations: 0 / 5.327 GB, free: 31.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005932/12.39, allocations: 330.4 kB / 5.327 GB, free: 30.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/12.39, allocations: 51.41 kB / 5.328 GB, free: 30.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.012e-05/12.39, allocations: 93 kB / 5.328 GB, free: 30.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/12.39, allocations: 29.83 kB / 5.328 GB, free: 30.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.063e-05/12.39, allocations: 80.14 kB / 5.328 GB, free: 30.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/12.39, allocations: 39.36 kB / 5.328 GB, free: 30.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/12.39, allocations: 0 / 5.328 GB, free: 30.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.451e-05/12.39, allocations: 330.7 kB / 5.328 GB, free: 30.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/12.39, allocations: 12.06 kB / 5.328 GB, free: 30 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/12.39, allocations: 29.72 kB / 5.328 GB, free: 29.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/12.39, allocations: 28.28 kB / 5.328 GB, free: 29.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/12.39, allocations: 4 kB / 5.328 GB, free: 29.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001052/12.39, allocations: 77.67 kB / 5.328 GB, free: 29.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/12.39, allocations: 6.188 kB / 5.328 GB, free: 29.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/12.39, allocations: 0 / 5.328 GB, free: 29.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/12.39, allocations: 0 / 5.328 GB, free: 29.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/12.39, allocations: 31.92 kB / 5.328 GB, free: 29.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/12.39, allocations: 0 / 5.328 GB, free: 29.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/12.39, allocations: 0 / 5.328 GB, free: 29.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/12.39, allocations: 4 kB / 5.328 GB, free: 29.81 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.937e-05/12.39, allocations: 124.8 kB / 5.328 GB, free: 29.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/12.39, allocations: 3.906 kB / 5.328 GB, free: 29.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/12.39, allocations: 8.406 kB / 5.328 GB, free: 29.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/12.39, allocations: 4 kB / 5.328 GB, free: 29.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/12.39, allocations: 0 / 5.328 GB, free: 29.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/12.39, allocations: 3.938 kB / 5.328 GB, free: 29.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.739e-05/12.39, allocations: 150.2 kB / 5.329 GB, free: 29.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/12.39, allocations: 3.938 kB / 5.329 GB, free: 29.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/12.39, allocations: 23.98 kB / 5.329 GB, free: 29.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/12.39, allocations: 0 / 5.329 GB, free: 29.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/12.39, allocations: 4 kB / 5.329 GB, free: 29.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/12.39, allocations: 0 / 5.329 GB, free: 29.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/12.39, allocations: 0 / 5.329 GB, free: 29.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/12.39, allocations: 113.2 kB / 5.329 GB, free: 29.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/12.39, allocations: 92.97 kB / 5.329 GB, free: 29.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/12.39, allocations: 0 / 5.329 GB, free: 29.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/12.39, allocations: 7.984 kB / 5.329 GB, free: 29.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/12.39, allocations: 3.938 kB / 5.329 GB, free: 29.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/12.39, allocations: 8 kB / 5.329 GB, free: 29.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.809e-05/12.39, allocations: 79.22 kB / 5.329 GB, free: 29.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/12.39, allocations: 0 / 5.329 GB, free: 29.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002518/12.39, allocations: 43.98 kB / 5.329 GB, free: 29.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005659/12.39, allocations: 0.6534 MB / 5.33 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001044/12.39, allocations: 47.94 kB / 5.33 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/12.39, allocations: 0 / 5.33 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/12.39, allocations: 20.22 kB / 5.33 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/12.39, allocations: 5.891 kB / 5.33 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/12.39, allocations: 284.2 kB / 5.33 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/12.39, allocations: 0.6923 MB / 5.331 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.672e-05/12.39, allocations: 16.64 kB / 5.331 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/12.39, allocations: 15.44 kB / 5.331 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/12.39, allocations: 0 / 5.331 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.005802/12.4, allocations: 3.872 MB / 5.334 GB, free: 23.42 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)