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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.1768/0.1789, allocations: 80.84 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002573/0.1815, allocations: 1.261 MB / 0.6718 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.8164/0.9979, allocations: 147 MB / 0.8154 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.9981, allocations: 0 / 0.8154 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.9981, allocations: 0 / 0.8154 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.9982, allocations: 10.92 kB / 0.8154 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.9987, allocations: 96.69 kB / 0.8155 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.445e-05/0.9988, allocations: 30.34 kB / 0.8155 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.9988, allocations: 3.125 kB / 0.8155 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.9989, allocations: 21.98 kB / 0.8155 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.999, allocations: 9.906 kB / 0.8155 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.999, allocations: 1.156 kB / 0.8155 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.9993, allocations: 84.75 kB / 0.8156 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.9994, allocations: 8.031 kB / 0.8156 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.9994, allocations: 17.06 kB / 0.8157 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.9996, allocations: 69.62 kB / 0.8157 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.9996, allocations: 5.438 kB / 0.8157 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9996, allocations: 0 / 0.8157 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.9996, allocations: 0 / 0.8157 GB, free: 9.449 MB / 0.5919 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.0005537/1, allocations: 346.9 kB / 0.8161 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1, allocations: 10.12 kB / 0.8161 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/1, allocations: 14.53 kB / 0.8161 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/1.001, allocations: 167.9 kB / 0.8162 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/1.001, allocations: 9.125 kB / 0.8162 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/1.001, allocations: 9.344 kB / 0.8163 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/1.001, allocations: 50.62 kB / 0.8163 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.001, allocations: 0 / 0.8163 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/1.001, allocations: 2.062 kB / 0.8163 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/1.001, allocations: 3.938 kB / 0.8163 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.438e-05/1.001, allocations: 19.5 kB / 0.8163 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/1.001, allocations: 162.7 kB / 0.8165 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/1.001, allocations: 57.31 kB / 0.8165 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/1.001, allocations: 17 kB / 0.8166 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/1.001, allocations: 1.562 kB / 0.8166 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.001, allocations: 32.19 kB / 0.8166 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/1.001, allocations: 3.938 kB / 0.8166 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0009117/1.002, allocations: 373 kB / 0.8169 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/1.002, allocations: 56.69 kB / 0.817 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.881e-05/1.003, allocations: 96.23 kB / 0.8171 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/1.003, allocations: 25.7 kB / 0.8171 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/1.003, allocations: 81.39 kB / 0.8172 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/1.003, allocations: 39.22 kB / 0.8172 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/1.003, allocations: 28 kB / 0.8173 GB, free: 8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.003, allocations: 321.1 kB / 0.8176 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.417e-05/1.003, allocations: 20.75 kB / 0.8176 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/1.003, allocations: 35.39 kB / 0.8176 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.696e-05/1.003, allocations: 68.11 kB / 0.8177 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/1.003, allocations: 0 / 0.8177 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000211/1.003, allocations: 93.8 kB / 0.8178 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.003, allocations: 9.844 kB / 0.8178 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.003, allocations: 0.7031 kB / 0.8178 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.003, allocations: 1.719 kB / 0.8178 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/1.003, allocations: 19.39 kB / 0.8178 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.004, allocations: 5.344 kB / 0.8178 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/1.004, allocations: 1.406 kB / 0.8178 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/1.004, allocations: 6.281 kB / 0.8178 GB, free: 7.598 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.926e-05/1.004, allocations: 122.2 kB / 0.8179 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/1.004, allocations: 7.031 kB / 0.8179 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/1.004, allocations: 10.84 kB / 0.818 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.004, allocations: 1.969 kB / 0.818 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.004, allocations: 1.406 kB / 0.818 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.004, allocations: 6.531 kB / 0.818 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/1.004, allocations: 174.1 kB / 0.8181 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.004, allocations: 3.938 kB / 0.8181 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/1.004, allocations: 19.91 kB / 0.8181 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.004, allocations: 9.328 kB / 0.8182 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/1.004, allocations: 3.312 kB / 0.8182 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.004, allocations: 1.562 kB / 0.8182 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.004, allocations: 0 / 0.8182 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/1.004, allocations: 144.6 kB / 0.8183 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/1.004, allocations: 85.17 kB / 0.8184 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/1.004, allocations: 2.438 kB / 0.8184 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/1.005, allocations: 4.75 kB / 0.8184 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/1.005, allocations: 5.594 kB / 0.8184 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/1.005, allocations: 5.062 kB / 0.8184 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.701e-05/1.005, allocations: 80.69 kB / 0.8185 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.005, allocations: 0 / 0.8185 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001967/1.005, allocations: 16.22 kB / 0.8185 GB, free: 7.004 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001148/1.005, allocations: 108 kB / 0.8186 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001444/1.005, allocations: 59.03 kB / 0.8187 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.005, allocations: 1.812 kB / 0.8187 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.199e-05/1.005, allocations: 30.56 kB / 0.8187 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/1.005, allocations: 7.906 kB / 0.8187 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/1.006, allocations: 327.7 kB / 0.819 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/1.006, allocations: 0.6842 MB / 0.8197 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.102e-05/1.006, allocations: 9.859 kB / 0.8197 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/1.006, allocations: 16.94 kB / 0.8197 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/1.006, allocations: 0 / 0.8197 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.00332/1.01, allocations: 0.6477 MB / 0.8203 GB, free: 5.777 MB / 0.5919 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)