Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [/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.1803/0.181, allocations: 82.21 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0007645/0.1818, allocations: 314.7 kB / 0.5937 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1837, allocations: 1.363 MB / 0.595 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.1838, allocations: 0 / 0.595 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.026e-05/0.1838, allocations: 0 / 0.595 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.1838, allocations: 3.938 kB / 0.595 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.1843, allocations: 75.77 kB / 0.5951 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.1844, allocations: 27.97 kB / 0.5951 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.1844, allocations: 3.938 kB / 0.5951 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.1845, allocations: 15.97 kB / 0.5951 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.1845, allocations: 19.92 kB / 0.5951 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1846, allocations: 0 / 0.5951 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.1849, allocations: 215.6 kB / 0.5953 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.185, allocations: 11.97 kB / 0.5954 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.185, allocations: 29.7 kB / 0.5954 GB, free: 3.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.1852, allocations: 104.1 kB / 0.5955 GB, free: 3.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1852, allocations: 0 / 0.5955 GB, free: 3.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1852, allocations: 0 / 0.5955 GB, free: 3.816 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1852, allocations: 4 kB / 0.5955 GB, free: 3.812 MB / 446.1 MB 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.0004875/0.1857, allocations: 359.3 kB / 0.5958 GB, free: 3.414 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1857, allocations: 8.031 kB / 0.5958 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.1863, allocations: 83.91 kB / 0.5959 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1864, allocations: 163 kB / 0.5961 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.1864, allocations: 8 kB / 0.5961 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.1865, allocations: 7.953 kB / 0.5961 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.1868, allocations: 85.62 kB / 0.5962 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1868, allocations: 4 kB / 0.5962 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1868, allocations: 4 kB / 0.5962 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1868, allocations: 0 / 0.5962 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.1872, allocations: 79.92 kB / 0.5963 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.1874, allocations: 181.5 kB / 0.5964 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.188, allocations: 158.4 kB / 0.5966 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.188, allocations: 11.88 kB / 0.5966 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.188, allocations: 30.56 kB / 0.5966 GB, free: 2.492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.188, allocations: 0 / 0.5966 GB, free: 2.492 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01076/0.1988, allocations: 2.724 MB / 0.5993 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1989, allocations: 55.41 kB / 0.5993 GB, free: 15.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.1989, allocations: 97.86 kB / 0.5994 GB, free: 15.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.199, allocations: 29.7 kB / 0.5995 GB, free: 15.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.1991, allocations: 80.14 kB / 0.5995 GB, free: 15.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.1991, allocations: 35.45 kB / 0.5996 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.1992, allocations: 4 kB / 0.5996 GB, free: 15.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.1994, allocations: 314.8 kB / 0.5999 GB, free: 15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.1998, allocations: 128 kB / 0.6 GB, free: 14.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.2002, allocations: 134.9 kB / 0.6001 GB, free: 14.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.2007, allocations: 123.9 kB / 0.6002 GB, free: 14.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2007, allocations: 0 / 0.6002 GB, free: 14.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009104/0.2017, allocations: 305.3 kB / 0.6005 GB, free: 14.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2017, allocations: 6.5 kB / 0.6005 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2017, allocations: 4 kB / 0.6005 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2017, allocations: 3.938 kB / 0.6005 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.2021, allocations: 75.92 kB / 0.6006 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.2021, allocations: 4.703 kB / 0.6006 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.2024, allocations: 43.95 kB / 0.6007 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.2024, allocations: 12 kB / 0.6007 GB, free: 14.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001115/0.2026, allocations: 128.7 kB / 0.6008 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.2026, allocations: 7.953 kB / 0.6008 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.2026, allocations: 7.969 kB / 0.6008 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2026, allocations: 0 / 0.6008 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2027, allocations: 0 / 0.6008 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2027, allocations: 0 / 0.6008 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.204, allocations: 0.6034 MB / 0.6014 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.204, allocations: 0 / 0.6014 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.2044, allocations: 71.94 kB / 0.6015 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2045, allocations: 96 / 0.6015 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.2045, allocations: 11.92 kB / 0.6015 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2045, allocations: 0 / 0.6015 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2045, allocations: 3.938 kB / 0.6015 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.206, allocations: 0.5296 MB / 0.602 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.2061, allocations: 101 kB / 0.6021 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.2062, allocations: 7.984 kB / 0.6021 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.2065, allocations: 56.02 kB / 0.6022 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.2066, allocations: 7.984 kB / 0.6022 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.2066, allocations: 8 kB / 0.6022 GB, free: 12.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.716e-05/0.2066, allocations: 79.27 kB / 0.6023 GB, free: 12.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2066, allocations: 0 / 0.6023 GB, free: 12.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.2071, allocations: 104 kB / 0.6024 GB, free: 12.36 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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.0004246/0.2075, allocations: 175.2 kB / 0.6025 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009944/0.2085, allocations: 263.8 kB / 0.6028 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2085, allocations: 0 / 0.6028 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.209, allocations: 143.8 kB / 0.6029 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.2091, allocations: 9.266 kB / 0.6029 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.2113, allocations: 0.5689 MB / 0.6035 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.2116, allocations: 0.6965 MB / 0.6042 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003049/0.2119, allocations: 55.98 kB / 0.6042 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.212, allocations: 19.42 kB / 0.6042 GB, free: 10.38 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.212, allocations: 4 kB / 0.6042 GB, free: 10.38 MB / 462.1 MB Notification: Performance of Templates: time 0.005356/0.2174, allocations: 2.205 MB / 0.6064 GB, free: 8.281 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: