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.1843/0.1863, allocations: 80.84 MB / 0.5899 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002039/0.1884, allocations: 0.6493 MB / 0.5905 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.19, allocations: 1.409 MB / 0.5919 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.19, allocations: 0 / 0.5919 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.1901, allocations: 3.938 kB / 0.5919 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.341e-05/0.1901, allocations: 0 / 0.5919 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.1905, allocations: 91.77 kB / 0.592 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.617e-05/0.1906, allocations: 27.97 kB / 0.592 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.1906, allocations: 0 / 0.592 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.801e-05/0.1907, allocations: 19.92 kB / 0.592 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.1907, allocations: 19.97 kB / 0.5921 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1908, allocations: 4 kB / 0.5921 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.1911, allocations: 219.5 kB / 0.5923 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.1911, allocations: 15.91 kB / 0.5923 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.1911, allocations: 11.94 kB / 0.5923 GB, free: 4.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.1914, allocations: 148 kB / 0.5924 GB, free: 4.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1914, allocations: 7.938 kB / 0.5924 GB, free: 4.348 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1914, allocations: 0 / 0.5924 GB, free: 4.348 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1914, allocations: 4 kB / 0.5924 GB, free: 4.344 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.0004918/0.1919, allocations: 359.5 kB / 0.5928 GB, free: 3.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.192, allocations: 12.02 kB / 0.5928 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004493/0.1924, allocations: 64.86 kB / 0.5929 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.418e-05/0.1925, allocations: 172.3 kB / 0.593 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1926, allocations: 384 / 0.593 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1926, allocations: 12.12 kB / 0.593 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.1928, allocations: 73.64 kB / 0.5931 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1929, allocations: 7.906 kB / 0.5931 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1929, allocations: 4 kB / 0.5931 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1929, allocations: 0 / 0.5931 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.1932, allocations: 71.86 kB / 0.5932 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.1934, allocations: 173.6 kB / 0.5934 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.1938, allocations: 134.5 kB / 0.5935 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.194, allocations: 56.75 kB / 0.5935 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.194, allocations: 4 kB / 0.5935 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1941, allocations: 30.8 kB / 0.5936 GB, free: 3.031 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.1941, allocations: 4 kB / 0.5936 GB, free: 3.027 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.009969/0.204, allocations: 2.424 MB / 0.5959 GB, free: 492 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.2041, allocations: 55.41 kB / 0.596 GB, free: 424 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.058e-05/0.2042, allocations: 97.84 kB / 0.5961 GB, free: 316 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.2042, allocations: 29.7 kB / 0.5961 GB, free: 280 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.2042, allocations: 80.14 kB / 0.5962 GB, free: 196 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.2043, allocations: 39.45 kB / 0.5962 GB, free: 156 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.2044, allocations: 33.7 kB / 0.5963 GB, free: 116 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2045, allocations: 330.8 kB / 0.5966 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.2049, allocations: 103.9 kB / 0.5967 GB, free: 15.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.2053, allocations: 103.9 kB / 0.5968 GB, free: 15.58 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007538/0.2061, allocations: 212.6 kB / 0.597 GB, free: 15.37 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2061, allocations: 7.938 kB / 0.597 GB, free: 15.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008542/0.2069, allocations: 261 kB / 0.5972 GB, free: 15.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.207, allocations: 6.031 kB / 0.5972 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.207, allocations: 0 / 0.5972 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.207, allocations: 0 / 0.5972 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.2074, allocations: 71.88 kB / 0.5973 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2074, allocations: 0 / 0.5973 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.2077, allocations: 43.95 kB / 0.5973 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.2077, allocations: 7.984 kB / 0.5974 GB, free: 14.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.487e-05/0.2078, allocations: 122.6 kB / 0.5975 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.2078, allocations: 7.891 kB / 0.5975 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.2079, allocations: 15.97 kB / 0.5975 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2079, allocations: 0 / 0.5975 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2079, allocations: 0 / 0.5975 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2079, allocations: 0 / 0.5975 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.2092, allocations: 0.5488 MB / 0.598 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2092, allocations: 0 / 0.598 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.2096, allocations: 63.94 kB / 0.5981 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2096, allocations: 0 / 0.5981 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.2096, allocations: 11.98 kB / 0.5981 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2096, allocations: 0 / 0.5981 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2096, allocations: 4 kB / 0.5981 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.211, allocations: 486.2 kB / 0.5986 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2111, allocations: 89.11 kB / 0.5987 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.2111, allocations: 4 kB / 0.5987 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.2115, allocations: 40.02 kB / 0.5987 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.2115, allocations: 19.86 kB / 0.5987 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.2116, allocations: 8 kB / 0.5987 GB, free: 13.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.481e-05/0.2116, allocations: 75.28 kB / 0.5988 GB, free: 13.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2116, allocations: 0 / 0.5988 GB, free: 13.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004093/0.212, allocations: 99.98 kB / 0.5989 GB, free: 13.3 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 (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.0004269/0.2125, allocations: 171.2 kB / 0.5991 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009036/0.2134, allocations: 235.8 kB / 0.5993 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2134, allocations: 0 / 0.5993 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.2138, allocations: 119.8 kB / 0.5994 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2141, allocations: 8 kB / 0.5994 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.2162, allocations: 0.4939 MB / 0.5999 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.2165, allocations: 0.6962 MB / 0.6006 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003322/0.2168, allocations: 56.64 kB / 0.6006 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.2169, allocations: 23.42 kB / 0.6006 GB, free: 11.45 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.217, allocations: 4 kB / 0.6006 GB, free: 11.45 MB / 462.1 MB Notification: Performance of Templates: time 0.005288/0.2222, allocations: 2.268 MB / 0.6029 GB, free: 9.289 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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)