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.6577/0.6577, 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.0009547/0.0009547, allocations: 174.8 kB / 176.9 MB, free: 2.242 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.161/1.161, allocations: 170.5 MB / 379.3 MB, free: 11.81 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.001527/0.001527, allocations: 118.5 kB / 450 MB, free: 5.773 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.4118/0.4119, allocations: 73.39 MB / 0.6736 GB, free: 47.64 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.761/10.17, allocations: 4.625 GB / 5.299 GB, free: 78.74 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/10.17, allocations: 87.38 kB / 5.299 GB, free: 78.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.05986/10.23, allocations: 36.45 MB / 5.335 GB, free: 47.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/10.23, allocations: 0 / 5.335 GB, free: 47.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.28e-06/10.23, allocations: 0 / 5.335 GB, free: 47.37 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.00023/10.23, allocations: 346.4 kB / 5.335 GB, free: 46.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/10.23, allocations: 8.031 kB / 5.335 GB, free: 46.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/10.23, allocations: 13.86 kB / 5.335 GB, free: 46.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.845e-05/10.23, allocations: 163 kB / 5.335 GB, free: 46.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/10.23, allocations: 4 kB / 5.335 GB, free: 46.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/10.23, allocations: 15.28 kB / 5.335 GB, free: 46.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.958e-05/10.23, allocations: 45.69 kB / 5.335 GB, free: 46.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/10.23, allocations: 0 / 5.335 GB, free: 46.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/10.23, allocations: 4 kB / 5.335 GB, free: 46.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/10.23, allocations: 4 kB / 5.335 GB, free: 46.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.517e-05/10.23, allocations: 23.92 kB / 5.335 GB, free: 46.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/10.23, allocations: 169.6 kB / 5.335 GB, free: 46.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.806e-05/10.23, allocations: 42.56 kB / 5.335 GB, free: 46.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/10.23, allocations: 16.86 kB / 5.335 GB, free: 46.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/10.23, allocations: 0 / 5.335 GB, free: 46.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/10.23, allocations: 42.56 kB / 5.335 GB, free: 46.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/10.23, allocations: 0 / 5.335 GB, free: 46.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005354/10.23, allocations: 354.3 kB / 5.336 GB, free: 45.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/10.23, allocations: 51.41 kB / 5.336 GB, free: 45.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.605e-05/10.23, allocations: 89 kB / 5.336 GB, free: 45.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/10.23, allocations: 29.7 kB / 5.336 GB, free: 45.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.38e-05/10.23, allocations: 84.27 kB / 5.336 GB, free: 45.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/10.23, allocations: 43.36 kB / 5.336 GB, free: 45.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/10.23, allocations: 0 / 5.336 GB, free: 45.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.167e-05/10.23, allocations: 322.8 kB / 5.336 GB, free: 45.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/10.23, allocations: 16 kB / 5.336 GB, free: 45.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/10.23, allocations: 34.97 kB / 5.336 GB, free: 45.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.772e-05/10.23, allocations: 28.27 kB / 5.336 GB, free: 45.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/10.23, allocations: 0 / 5.336 GB, free: 45.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.57e-05/10.23, allocations: 97.62 kB / 5.337 GB, free: 45.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/10.23, allocations: 4.781 kB / 5.337 GB, free: 45.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/10.23, allocations: 0 / 5.337 GB, free: 45.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/10.23, allocations: 0 / 5.337 GB, free: 45.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/10.23, allocations: 23.98 kB / 5.337 GB, free: 45.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/10.23, allocations: 0 / 5.337 GB, free: 45.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/10.23, allocations: 4 kB / 5.337 GB, free: 45.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/10.23, allocations: 4 kB / 5.337 GB, free: 45.07 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 3.956e-05/10.24, allocations: 116.8 kB / 5.337 GB, free: 44.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/10.24, allocations: 15.91 kB / 5.337 GB, free: 44.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/10.24, allocations: 12.08 kB / 5.337 GB, free: 44.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/10.24, allocations: 0 / 5.337 GB, free: 44.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/10.24, allocations: 0.5625 kB / 5.337 GB, free: 44.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/10.24, allocations: 0 / 5.337 GB, free: 44.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.324e-05/10.24, allocations: 181.5 kB / 5.337 GB, free: 44.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/10.24, allocations: 0 / 5.337 GB, free: 44.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/10.24, allocations: 19.98 kB / 5.337 GB, free: 44.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/10.24, allocations: 4 kB / 5.337 GB, free: 44.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/10.24, allocations: 5.5 kB / 5.337 GB, free: 44.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/10.24, allocations: 0 / 5.337 GB, free: 44.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/10.24, allocations: 4 kB / 5.337 GB, free: 44.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/10.24, allocations: 132.9 kB / 5.337 GB, free: 44.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/10.24, allocations: 85.14 kB / 5.337 GB, free: 44.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/10.24, allocations: 0 / 5.337 GB, free: 44.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/10.24, allocations: 8 kB / 5.337 GB, free: 44.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/10.24, allocations: 11.92 kB / 5.337 GB, free: 44.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/10.24, allocations: 4 kB / 5.337 GB, free: 44.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.449e-05/10.24, allocations: 79.28 kB / 5.337 GB, free: 44.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/10.24, allocations: 0 / 5.337 GB, free: 44.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000261/10.24, allocations: 51.98 kB / 5.337 GB, free: 44.27 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.0005003/10.24, allocations: 0.5728 MB / 5.338 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.303e-05/10.24, allocations: 52 kB / 5.338 GB, free: 43.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/10.24, allocations: 0 / 5.338 GB, free: 43.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/10.24, allocations: 27.94 kB / 5.338 GB, free: 43.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/10.24, allocations: 3.953 kB / 5.338 GB, free: 43.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/10.24, allocations: 290.3 kB / 5.338 GB, free: 43.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.045e-05/10.24, allocations: 0.6887 MB / 5.339 GB, free: 42.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.268e-05/10.24, allocations: 8.672 kB / 5.339 GB, free: 42.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/10.24, allocations: 11.44 kB / 5.339 GB, free: 42.56 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/10.24, allocations: 4 kB / 5.339 GB, free: 42.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.00986/10.25, allocations: 9.755 MB / 5.348 GB, free: 32.8 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)