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.188/0.19, allocations: 80.84 MB / 0.6706 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002367/0.1925, allocations: 1.268 MB / 0.6719 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6556/0.848, allocations: 147 MB / 0.8154 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.8481, allocations: 0 / 0.8154 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.8482, allocations: 2.484 kB / 0.8154 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.315e-05/0.8482, allocations: 7.031 kB / 0.8154 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.8487, allocations: 96.42 kB / 0.8155 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.8488, allocations: 31.88 kB / 0.8155 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.8489, allocations: 4.172 kB / 0.8155 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.8489, allocations: 17.92 kB / 0.8155 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.849, allocations: 15.69 kB / 0.8156 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.849, allocations: 1.844 kB / 0.8156 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.8493, allocations: 77.88 kB / 0.8156 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.8493, allocations: 16.28 kB / 0.8156 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.8494, allocations: 13.91 kB / 0.8157 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.8496, allocations: 61.2 kB / 0.8157 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.8496, allocations: 5.188 kB / 0.8157 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8496, allocations: 3.938 kB / 0.8157 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.8496, allocations: 0 / 0.8157 GB, free: 8.938 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.0004339/0.8501, allocations: 344.8 kB / 0.8161 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.8501, allocations: 11.14 kB / 0.8161 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.8503, allocations: 15.52 kB / 0.8161 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.8505, allocations: 165.7 kB / 0.8162 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.8505, allocations: 10.59 kB / 0.8163 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.8505, allocations: 7.562 kB / 0.8163 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.8507, allocations: 58.16 kB / 0.8163 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.8507, allocations: 1 kB / 0.8163 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.8507, allocations: 1.031 kB / 0.8163 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.8507, allocations: 1.25 kB / 0.8163 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.483e-05/0.8508, allocations: 16.78 kB / 0.8163 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.851, allocations: 162.7 kB / 0.8165 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.8511, allocations: 52.77 kB / 0.8165 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.8511, allocations: 20.7 kB / 0.8166 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.8511, allocations: 1.156 kB / 0.8166 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.8512, allocations: 41.77 kB / 0.8166 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.8512, allocations: 0 / 0.8166 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0008185/0.852, allocations: 368.5 kB / 0.817 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.8521, allocations: 56.53 kB / 0.817 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.8521, allocations: 97.47 kB / 0.8171 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.8522, allocations: 26.86 kB / 0.8171 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.8522, allocations: 83.33 kB / 0.8172 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.8523, allocations: 34.27 kB / 0.8172 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.8523, allocations: 27.64 kB / 0.8173 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8524, allocations: 325.5 kB / 0.8176 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.8525, allocations: 20.17 kB / 0.8176 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.199e-05/0.8525, allocations: 38.61 kB / 0.8176 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.328e-05/0.8526, allocations: 61.48 kB / 0.8177 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.8526, allocations: 0 / 0.8177 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001443/0.8528, allocations: 98.91 kB / 0.8178 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8528, allocations: 6.719 kB / 0.8178 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8528, allocations: 0 / 0.8178 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8529, allocations: 2.875 kB / 0.8178 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.853, allocations: 22.72 kB / 0.8178 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.853, allocations: 6.359 kB / 0.8178 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.853, allocations: 3.562 kB / 0.8178 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.853, allocations: 3.594 kB / 0.8178 GB, free: 7.078 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.616e-05/0.8531, allocations: 123.8 kB / 0.8179 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.8532, allocations: 3.562 kB / 0.8179 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.8532, allocations: 10.84 kB / 0.818 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8532, allocations: 3.484 kB / 0.818 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8532, allocations: 0.9375 kB / 0.818 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.8532, allocations: 0 / 0.818 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.8534, allocations: 181 kB / 0.8181 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8534, allocations: 1.781 kB / 0.8181 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.8535, allocations: 24.14 kB / 0.8182 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8535, allocations: 0 / 0.8182 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.8536, allocations: 3.953 kB / 0.8182 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.8536, allocations: 1.281 kB / 0.8182 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.8536, allocations: 0 / 0.8182 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.8538, allocations: 147.8 kB / 0.8183 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.8539, allocations: 87.19 kB / 0.8184 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.8539, allocations: 4.625 kB / 0.8184 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.854, allocations: 4.609 kB / 0.8184 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.854, allocations: 5.266 kB / 0.8184 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.8541, allocations: 5.344 kB / 0.8184 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.8541, allocations: 76.34 kB / 0.8185 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8541, allocations: 5.125 kB / 0.8185 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002119/0.8543, allocations: 15.84 kB / 0.8185 GB, free: 6.484 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.0001661/0.8545, allocations: 106.4 kB / 0.8186 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.8547, allocations: 61.73 kB / 0.8187 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8547, allocations: 0 / 0.8187 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.8548, allocations: 28.33 kB / 0.8187 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.8551, allocations: 10.94 kB / 0.8187 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.8558, allocations: 322.2 kB / 0.819 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.8561, allocations: 0.687 MB / 0.8197 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.702e-05/0.8562, allocations: 12.59 kB / 0.8197 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.8562, allocations: 12.59 kB / 0.8197 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.8562, allocations: 4 kB / 0.8197 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.003767/0.86, allocations: 0.6526 MB / 0.8203 GB, free: 5.285 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)