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.2293/0.23, allocations: 82.22 MB / 0.5935 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001889/0.232, allocations: 0.9843 MB / 0.5944 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6953/0.9273, allocations: 133.5 MB / 0.7248 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.9274, allocations: 0.9688 kB / 0.7248 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.9275, allocations: 2.391 kB / 0.7248 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.441e-05/0.9275, allocations: 1.031 kB / 0.7248 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.9279, allocations: 84.45 kB / 0.7248 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.415e-05/0.928, allocations: 28.17 kB / 0.7249 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.747e-05/0.9281, allocations: 2.391 kB / 0.7249 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.9281, allocations: 16.22 kB / 0.7249 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.9282, allocations: 20.34 kB / 0.7249 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.9282, allocations: 1.75 kB / 0.7249 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.9285, allocations: 70.12 kB / 0.725 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.9286, allocations: 6.656 kB / 0.725 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.9287, allocations: 29.58 kB / 0.725 GB, free: 17.1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.9288, allocations: 53.31 kB / 0.7251 GB, free: 17.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.9288, allocations: 0.875 kB / 0.7251 GB, free: 17.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9289, allocations: 0 / 0.7251 GB, free: 17.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.9289, allocations: 1.281 kB / 0.7251 GB, free: 17.09 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.0005015/0.9294, allocations: 339.1 kB / 0.7254 GB, free: 16.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.9294, allocations: 9.25 kB / 0.7254 GB, free: 16.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.9297, allocations: 13.5 kB / 0.7254 GB, free: 16.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.9299, allocations: 171.6 kB / 0.7256 GB, free: 16.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.9299, allocations: 9.188 kB / 0.7256 GB, free: 16.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.93, allocations: 6.656 kB / 0.7256 GB, free: 16.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.9302, allocations: 47.94 kB / 0.7256 GB, free: 16.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.9302, allocations: 0.875 kB / 0.7256 GB, free: 16.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.9302, allocations: 0.8438 kB / 0.7256 GB, free: 16.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.9302, allocations: 1.031 kB / 0.7256 GB, free: 16.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.398e-05/0.9303, allocations: 17.47 kB / 0.7257 GB, free: 16.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.9305, allocations: 170.6 kB / 0.7258 GB, free: 16.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.9307, allocations: 53.67 kB / 0.7259 GB, free: 16.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.9307, allocations: 16.97 kB / 0.7259 GB, free: 16.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.9307, allocations: 1.062 kB / 0.7259 GB, free: 16.26 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.9308, allocations: 32.28 kB / 0.7259 GB, free: 16.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.9308, allocations: 0 / 0.7259 GB, free: 16.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0009167/0.9317, allocations: 372.1 kB / 0.7263 GB, free: 15.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.9318, allocations: 57.31 kB / 0.7263 GB, free: 15.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.9319, allocations: 97.61 kB / 0.7264 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.9319, allocations: 34.48 kB / 0.7264 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.9319, allocations: 83.89 kB / 0.7265 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.932, allocations: 34.09 kB / 0.7266 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-06/0.932, allocations: 3.75 kB / 0.7266 GB, free: 15.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9322, allocations: 318.8 kB / 0.7269 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.819e-05/0.9322, allocations: 23.61 kB / 0.7269 GB, free: 15.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.007e-05/0.9323, allocations: 35.61 kB / 0.7269 GB, free: 15.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.9323, allocations: 21.81 kB / 0.7269 GB, free: 15.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.9323, allocations: 0 / 0.7269 GB, free: 15.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001549/0.9325, allocations: 102.1 kB / 0.727 GB, free: 15.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.9325, allocations: 7.844 kB / 0.7271 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.9325, allocations: 0 / 0.7271 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.9326, allocations: 5.359 kB / 0.7271 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.9327, allocations: 20.88 kB / 0.7271 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9327, allocations: 5.156 kB / 0.7271 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.9327, allocations: 1.062 kB / 0.7271 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.9328, allocations: 7.188 kB / 0.7271 GB, free: 15.27 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 0.0001068/0.9329, allocations: 124.8 kB / 0.7272 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.9329, allocations: 2.656 kB / 0.7272 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.933, allocations: 12.98 kB / 0.7272 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.933, allocations: 2.375 kB / 0.7272 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.933, allocations: 0 / 0.7272 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.933, allocations: 0 / 0.7272 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.9331, allocations: 179.7 kB / 0.7274 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9331, allocations: 3.109 kB / 0.7274 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.9333, allocations: 21.64 kB / 0.7274 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.9333, allocations: 0 / 0.7274 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.9333, allocations: 3.719 kB / 0.7274 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.9333, allocations: 0.8125 kB / 0.7274 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9333, allocations: 0 / 0.7274 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.9335, allocations: 140.1 kB / 0.7276 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.9336, allocations: 90.7 kB / 0.7276 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.9337, allocations: 4.156 kB / 0.7276 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.9337, allocations: 2.531 kB / 0.7277 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.9338, allocations: 7.625 kB / 0.7277 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.9338, allocations: 8.5 kB / 0.7277 GB, free: 14.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.9338, allocations: 77 kB / 0.7277 GB, free: 14.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9338, allocations: 0 / 0.7277 GB, free: 14.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002152/0.9341, allocations: 16.56 kB / 0.7278 GB, free: 14.68 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.000127/0.9342, allocations: 99.19 kB / 0.7278 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.9344, allocations: 59.45 kB / 0.7279 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9344, allocations: 0 / 0.7279 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.9345, allocations: 32.95 kB / 0.7279 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.9348, allocations: 6.5 kB / 0.7279 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.9355, allocations: 381.9 kB / 0.7283 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.9358, allocations: 0.6911 MB / 0.729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.886e-05/0.9359, allocations: 12.75 kB / 0.729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.9359, allocations: 15.62 kB / 0.729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.9359, allocations: 0.5938 kB / 0.729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of Templates: time 0.003207/0.9391, allocations: 0.58 MB / 0.7296 GB, free: 13.55 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: