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.4859/0.4883, allocations: 80.81 MB / 0.5904 GB, free: 22.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002236/0.4906, allocations: 0.585 MB / 0.591 GB, free: 21.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.4925, allocations: 1.411 MB / 0.5924 GB, free: 20.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.4925, allocations: 3.938 kB / 0.5924 GB, free: 20.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.4926, allocations: 0.8438 kB / 0.5924 GB, free: 20.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.4926, allocations: 0.8438 kB / 0.5924 GB, free: 20.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.4931, allocations: 114.5 kB / 0.5925 GB, free: 20.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.437e-05/0.4931, allocations: 23.98 kB / 0.5925 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.4932, allocations: 3.984 kB / 0.5925 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.4932, allocations: 12.59 kB / 0.5925 GB, free: 20.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.4933, allocations: 27.89 kB / 0.5925 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.4933, allocations: 6.062 kB / 0.5926 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.4936, allocations: 219.5 kB / 0.5928 GB, free: 20.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.4936, allocations: 11.92 kB / 0.5928 GB, free: 20.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.4937, allocations: 15.92 kB / 0.5928 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.4939, allocations: 150.2 kB / 0.5929 GB, free: 20.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4939, allocations: 1.188 kB / 0.5929 GB, free: 20.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4939, allocations: 4 kB / 0.5929 GB, free: 20.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.4939, allocations: 0 / 0.5929 GB, free: 20.23 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.0004196/0.4943, allocations: 361.2 kB / 0.5933 GB, free: 19.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4944, allocations: 8.031 kB / 0.5933 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004341/0.4948, allocations: 78.22 kB / 0.5934 GB, free: 19.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.199e-05/0.4949, allocations: 168.3 kB / 0.5935 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.4949, allocations: 384 / 0.5935 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.495, allocations: 8.125 kB / 0.5935 GB, free: 19.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.4952, allocations: 84.91 kB / 0.5936 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4952, allocations: 0 / 0.5936 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4952, allocations: 0 / 0.5936 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4952, allocations: 0 / 0.5936 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.4955, allocations: 79.39 kB / 0.5937 GB, free: 19.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.4957, allocations: 169.6 kB / 0.5939 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.4961, allocations: 130.5 kB / 0.594 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.4963, allocations: 52.77 kB / 0.594 GB, free: 18.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4963, allocations: 4 kB / 0.594 GB, free: 18.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.4963, allocations: 38.56 kB / 0.5941 GB, free: 18.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.4964, allocations: 0 / 0.5941 GB, free: 18.92 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.008989/0.5053, allocations: 2.434 MB / 0.5964 GB, free: 16.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.5054, allocations: 55.41 kB / 0.5965 GB, free: 16.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.084e-05/0.5055, allocations: 93.84 kB / 0.5966 GB, free: 16.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.5055, allocations: 33.7 kB / 0.5966 GB, free: 16.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.562e-05/0.5055, allocations: 80.14 kB / 0.5967 GB, free: 16.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.5056, allocations: 31.59 kB / 0.5967 GB, free: 16.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.5056, allocations: 41.69 kB / 0.5968 GB, free: 16.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.5057, allocations: 322.8 kB / 0.5971 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.5061, allocations: 99.89 kB / 0.5972 GB, free: 15.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.5064, allocations: 114.8 kB / 0.5973 GB, free: 15.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.5072, allocations: 208.7 kB / 0.5975 GB, free: 15.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5072, allocations: 0 / 0.5975 GB, free: 15.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008239/0.508, allocations: 261.4 kB / 0.5977 GB, free: 15.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5081, allocations: 4 kB / 0.5977 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.5081, allocations: 3.984 kB / 0.5977 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.5081, allocations: 3.984 kB / 0.5977 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.5084, allocations: 67.88 kB / 0.5978 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5085, allocations: 3.938 kB / 0.5978 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.5087, allocations: 43.95 kB / 0.5978 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.5087, allocations: 4 kB / 0.5979 GB, free: 14.88 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 (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 7.565e-05/0.5088, allocations: 121.8 kB / 0.598 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.5088, allocations: 0 / 0.598 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.5089, allocations: 15.97 kB / 0.598 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.5089, allocations: 0 / 0.598 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.5089, allocations: 4 kB / 0.598 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5089, allocations: 0 / 0.598 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.5101, allocations: 0.5449 MB / 0.5985 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5101, allocations: 0 / 0.5985 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.5105, allocations: 63.94 kB / 0.5986 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5105, allocations: 0 / 0.5986 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.5105, allocations: 19.92 kB / 0.5986 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5105, allocations: 0.7031 kB / 0.5986 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5106, allocations: 4.094 kB / 0.5986 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.5118, allocations: 479.1 kB / 0.5991 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.5119, allocations: 93.02 kB / 0.5991 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.5119, allocations: 8 kB / 0.5992 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.5122, allocations: 40 kB / 0.5992 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.5123, allocations: 15.92 kB / 0.5992 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.5123, allocations: 4 kB / 0.5992 GB, free: 13.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.306e-05/0.5123, allocations: 79.28 kB / 0.5993 GB, free: 13.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5123, allocations: 0 / 0.5993 GB, free: 13.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.5127, allocations: 104 kB / 0.5994 GB, free: 13.2 MB / 446.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.0003758/0.5131, allocations: 179.2 kB / 0.5996 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008617/0.514, allocations: 234.5 kB / 0.5998 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.514, allocations: 0 / 0.5998 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.5144, allocations: 119.8 kB / 0.5999 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.5147, allocations: 8 kB / 0.5999 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.5166, allocations: 489.8 kB / 0.6004 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.5168, allocations: 0.6884 MB / 0.601 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.517, allocations: 59.98 kB / 0.6011 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.5171, allocations: 19.42 kB / 0.6011 GB, free: 11.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5171, allocations: 0 / 0.6011 GB, free: 11.37 MB / 446.1 MB Notification: Performance of Templates: time 0.004384/0.5215, allocations: 2.278 MB / 0.6033 GB, free: 9.199 MB / 446.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)