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.182/0.1827, allocations: 82.22 MB / 0.5934 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001436/0.1841, allocations: 0.9783 MB / 0.5943 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.547/0.7311, allocations: 124.3 MB / 0.7157 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.7313, allocations: 0 / 0.7157 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.7313, allocations: 0 / 0.7157 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.7314, allocations: 4.859 kB / 0.7157 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.7317, allocations: 83.67 kB / 0.7158 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.77e-05/0.7318, allocations: 23.09 kB / 0.7158 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.719e-05/0.7319, allocations: 2.906 kB / 0.7158 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.7319, allocations: 17.5 kB / 0.7158 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.732, allocations: 14.08 kB / 0.7158 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.732, allocations: 2.625 kB / 0.7158 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.7323, allocations: 83.12 kB / 0.7159 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.7323, allocations: 15.17 kB / 0.7159 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.7325, allocations: 28.33 kB / 0.7159 GB, free: 16.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.7326, allocations: 45.91 kB / 0.716 GB, free: 16.85 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7326, allocations: 0 / 0.716 GB, free: 16.85 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7326, allocations: 0 / 0.716 GB, free: 16.85 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.7326, allocations: 0 / 0.716 GB, free: 16.85 MB / 0.545 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.0004024/0.733, allocations: 349.4 kB / 0.7163 GB, free: 16.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.7331, allocations: 7.875 kB / 0.7163 GB, free: 16.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.7333, allocations: 18.72 kB / 0.7163 GB, free: 16.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.7334, allocations: 167 kB / 0.7165 GB, free: 16.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.7335, allocations: 2.625 kB / 0.7165 GB, free: 16.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.7335, allocations: 8.625 kB / 0.7165 GB, free: 16.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.7336, allocations: 54.56 kB / 0.7166 GB, free: 16.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.7337, allocations: 0 / 0.7166 GB, free: 16.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.7337, allocations: 4 kB / 0.7166 GB, free: 16.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7337, allocations: 0 / 0.7166 GB, free: 16.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.7338, allocations: 15.42 kB / 0.7166 GB, free: 16.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.7339, allocations: 167 kB / 0.7167 GB, free: 16.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.877e-05/0.734, allocations: 50.38 kB / 0.7168 GB, free: 16.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.7341, allocations: 1.859 kB / 0.7168 GB, free: 16.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.7341, allocations: 40.56 kB / 0.7168 GB, free: 15.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.7341, allocations: 4 kB / 0.7168 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0008111/0.7349, allocations: 366.9 kB / 0.7172 GB, free: 15.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.735, allocations: 51.41 kB / 0.7172 GB, free: 15.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.7351, allocations: 94.73 kB / 0.7173 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.7351, allocations: 25.7 kB / 0.7173 GB, free: 15.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.7352, allocations: 87.16 kB / 0.7174 GB, free: 15.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.7352, allocations: 39.61 kB / 0.7175 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.7352, allocations: 0 / 0.7175 GB, free: 15.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.7354, allocations: 323.3 kB / 0.7178 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.7355, allocations: 21.06 kB / 0.7178 GB, free: 15.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-05/0.7355, allocations: 34.05 kB / 0.7178 GB, free: 15.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.7356, allocations: 31.7 kB / 0.7179 GB, free: 15.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.7356, allocations: 0 / 0.7179 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001481/0.7357, allocations: 95.08 kB / 0.718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.7358, allocations: 10.22 kB / 0.718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7358, allocations: 1.859 kB / 0.718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.7358, allocations: 0 / 0.718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.7359, allocations: 26.92 kB / 0.718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.7359, allocations: 2.625 kB / 0.718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.736, allocations: 0 / 0.718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.736, allocations: 5.719 kB / 0.718 GB, free: 15.03 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.853e-05/0.7361, allocations: 123.4 kB / 0.7181 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.7361, allocations: 2.906 kB / 0.7181 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.7361, allocations: 18.08 kB / 0.7181 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.7361, allocations: 0 / 0.7181 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7361, allocations: 2.625 kB / 0.7181 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.7362, allocations: 0 / 0.7181 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.7363, allocations: 178 kB / 0.7183 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7363, allocations: 0 / 0.7183 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.7364, allocations: 28.34 kB / 0.7183 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.7364, allocations: 0 / 0.7183 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.7365, allocations: 3.922 kB / 0.7183 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.7365, allocations: 2.625 kB / 0.7183 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7365, allocations: 4 kB / 0.7183 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.7367, allocations: 131.2 kB / 0.7185 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.7368, allocations: 91.81 kB / 0.7186 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.7368, allocations: 2 kB / 0.7186 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.7369, allocations: 6.672 kB / 0.7186 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.7369, allocations: 7.672 kB / 0.7186 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.7369, allocations: 4.656 kB / 0.7186 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.737, allocations: 84.97 kB / 0.7187 GB, free: 14.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.737, allocations: 0 / 0.7187 GB, free: 14.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002074/0.7372, allocations: 16 kB / 0.7187 GB, free: 14.44 MB / 0.545 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 (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.0001018/0.7373, allocations: 99.31 kB / 0.7188 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.7374, allocations: 55.7 kB / 0.7188 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7374, allocations: 0 / 0.7188 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.7375, allocations: 28.31 kB / 0.7188 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.7377, allocations: 5.406 kB / 0.7189 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.7383, allocations: 382.6 kB / 0.7192 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.7386, allocations: 0.6893 MB / 0.7199 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.248e-05/0.7387, allocations: 9.656 kB / 0.7199 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.7387, allocations: 12.16 kB / 0.7199 GB, free: 13.36 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.7387, allocations: 0 / 0.7199 GB, free: 13.36 MB / 0.545 GB Notification: Performance of Templates: time 0.002579/0.7413, allocations: 0.5815 MB / 0.7205 GB, free: 13.33 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: