Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [/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.4322/0.4329, allocations: 82.21 MB / 0.5934 GB, free: 21.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007106/0.4337, allocations: 304 kB / 0.5937 GB, free: 21.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.4351, allocations: 1.351 MB / 0.595 GB, free: 20 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.4351, allocations: 0.6875 kB / 0.595 GB, free: 20 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.4351, allocations: 0 / 0.595 GB, free: 20 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.339e-05/0.4352, allocations: 0.9375 kB / 0.595 GB, free: 20 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.4355, allocations: 78.23 kB / 0.5951 GB, free: 19.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.531e-05/0.4356, allocations: 15.97 kB / 0.5951 GB, free: 19.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.4356, allocations: 4 kB / 0.5951 GB, free: 19.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.4357, allocations: 8 kB / 0.5951 GB, free: 19.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.4357, allocations: 19.91 kB / 0.5951 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.4358, allocations: 0.5938 kB / 0.5951 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.436, allocations: 216.5 kB / 0.5953 GB, free: 19.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.436, allocations: 0 / 0.5953 GB, free: 19.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.4361, allocations: 29.7 kB / 0.5953 GB, free: 19.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.4362, allocations: 111.6 kB / 0.5955 GB, free: 19.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.4362, allocations: 0 / 0.5955 GB, free: 19.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4362, allocations: 0 / 0.5955 GB, free: 19.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.4362, allocations: 2.031 kB / 0.5955 GB, free: 19.53 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000364/0.4366, allocations: 347.4 kB / 0.5958 GB, free: 19.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4366, allocations: 8.031 kB / 0.5958 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.4371, allocations: 85.88 kB / 0.5959 GB, free: 19.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.728e-05/0.4372, allocations: 167 kB / 0.596 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.4372, allocations: 0.7812 kB / 0.596 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.4372, allocations: 7.953 kB / 0.596 GB, free: 18.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.4375, allocations: 72.14 kB / 0.5961 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4375, allocations: 9.875 kB / 0.5961 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.4375, allocations: 0 / 0.5961 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4375, allocations: 0 / 0.5961 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.4378, allocations: 76.36 kB / 0.5962 GB, free: 18.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.4379, allocations: 162.2 kB / 0.5963 GB, free: 18.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.4384, allocations: 142.7 kB / 0.5965 GB, free: 18.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.4385, allocations: 3.953 kB / 0.5965 GB, free: 18.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.4385, allocations: 32.41 kB / 0.5965 GB, free: 18.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.4385, allocations: 0 / 0.5965 GB, free: 18.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003049/0.4415, allocations: 0.9998 MB / 0.5975 GB, free: 17.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.4416, allocations: 51.41 kB / 0.5975 GB, free: 17.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.999e-05/0.4416, allocations: 93.86 kB / 0.5976 GB, free: 17.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.4417, allocations: 33.64 kB / 0.5977 GB, free: 17.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.766e-05/0.4417, allocations: 84.14 kB / 0.5977 GB, free: 16.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.4417, allocations: 23.58 kB / 0.5978 GB, free: 16.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.4417, allocations: 4 kB / 0.5978 GB, free: 16.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.4418, allocations: 314.8 kB / 0.5981 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.442, allocations: 72.06 kB / 0.5981 GB, free: 16.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.4423, allocations: 87.86 kB / 0.5982 GB, free: 16.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.4425, allocations: 71.95 kB / 0.5983 GB, free: 16.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4425, allocations: 0 / 0.5983 GB, free: 16.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005221/0.4431, allocations: 193.5 kB / 0.5985 GB, free: 16.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4431, allocations: 4 kB / 0.5985 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4431, allocations: 3.984 kB / 0.5985 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4431, allocations: 4 kB / 0.5985 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.4433, allocations: 47.91 kB / 0.5985 GB, free: 16.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4434, allocations: 0 / 0.5985 GB, free: 16.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4435, allocations: 31.97 kB / 0.5986 GB, free: 16.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.4435, allocations: 7.984 kB / 0.5986 GB, free: 16.09 MB / 446.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 (7): * Single equations (assignments): 7 * 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 6.261e-05/0.4436, allocations: 109.8 kB / 0.5987 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.4436, allocations: 11.86 kB / 0.5987 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.4437, allocations: 12.3 kB / 0.5987 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4437, allocations: 0 / 0.5987 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4437, allocations: 0 / 0.5987 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4437, allocations: 7.984 kB / 0.5987 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.4438, allocations: 173.5 kB / 0.5989 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4438, allocations: 0 / 0.5989 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.444, allocations: 51.95 kB / 0.5989 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.444, allocations: 3.953 kB / 0.5989 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4441, allocations: 4 kB / 0.5989 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4441, allocations: 0 / 0.5989 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.4441, allocations: 0 / 0.5989 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.4449, allocations: 308.9 kB / 0.5992 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.445, allocations: 85.25 kB / 0.5993 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.445, allocations: 7.953 kB / 0.5993 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.4452, allocations: 32.03 kB / 0.5993 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.4452, allocations: 7.984 kB / 0.5994 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.4452, allocations: 4 kB / 0.5994 GB, free: 15.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.066e-05/0.4452, allocations: 83.22 kB / 0.5994 GB, free: 15.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4453, allocations: 0 / 0.5994 GB, free: 15.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.4455, allocations: 39.98 kB / 0.5995 GB, free: 15.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001797/0.4457, allocations: 127.2 kB / 0.5996 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.4462, allocations: 175.9 kB / 0.5998 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4463, allocations: 0 / 0.5998 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.4465, allocations: 79.94 kB / 0.5998 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.4466, allocations: 4 kB / 0.5998 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.4475, allocations: 292.4 kB / 0.6001 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.4476, allocations: 0.6848 MB / 0.6008 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.4478, allocations: 27.98 kB / 0.6008 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.4478, allocations: 15.38 kB / 0.6008 GB, free: 13.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4478, allocations: 0 / 0.6008 GB, free: 13.62 MB / 446.1 MB Notification: Performance of Templates: time 0.002962/0.4508, allocations: 1.052 MB / 0.6019 GB, free: 12.61 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: