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.1882/0.1912, allocations: 80.84 MB / 0.6707 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001731/0.193, allocations: 0.5627 MB / 0.6712 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1948, allocations: 1.409 MB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.1949, allocations: 4 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.1949, allocations: 0 / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.553e-05/0.1949, allocations: 0 / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.1954, allocations: 103.6 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.1955, allocations: 15.98 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.1955, allocations: 0 / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.1956, allocations: 23.91 kB / 0.6727 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1958, allocations: 19.81 kB / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1958, allocations: 0 / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.1961, allocations: 223.5 kB / 0.673 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.1962, allocations: 11.97 kB / 0.673 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.1962, allocations: 7.938 kB / 0.673 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1964, allocations: 143.6 kB / 0.6731 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1965, allocations: 0 / 0.6731 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1965, allocations: 0 / 0.6731 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.1965, allocations: 0 / 0.6731 GB, free: 15.44 MB / 0.5137 GB 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.0005342/0.197, allocations: 355.6 kB / 0.6734 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1971, allocations: 8.031 kB / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004834/0.1975, allocations: 64.86 kB / 0.6735 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1977, allocations: 168.3 kB / 0.6737 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.1977, allocations: 4.375 kB / 0.6737 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1977, allocations: 3.938 kB / 0.6737 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.198, allocations: 77.64 kB / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.198, allocations: 0 / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1981, allocations: 0 / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1981, allocations: 0 / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.1984, allocations: 63.88 kB / 0.6738 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.1986, allocations: 161.7 kB / 0.674 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.1991, allocations: 114.5 kB / 0.6741 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1993, allocations: 48.81 kB / 0.6741 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1993, allocations: 0 / 0.6741 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1994, allocations: 34.56 kB / 0.6742 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1994, allocations: 0 / 0.6742 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.003421/0.2028, allocations: 0.8981 MB / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.2028, allocations: 55.41 kB / 0.6751 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.2029, allocations: 97.86 kB / 0.6752 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.203, allocations: 25.7 kB / 0.6752 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.203, allocations: 80.14 kB / 0.6753 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.2031, allocations: 27.64 kB / 0.6753 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.2031, allocations: 21.72 kB / 0.6753 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.2032, allocations: 314.8 kB / 0.6756 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.2035, allocations: 64.06 kB / 0.6757 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.2038, allocations: 63.94 kB / 0.6758 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.2043, allocations: 132.7 kB / 0.6759 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2043, allocations: 3.938 kB / 0.6759 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005803/0.2049, allocations: 165.5 kB / 0.676 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2049, allocations: 8 kB / 0.6761 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2049, allocations: 4 kB / 0.6761 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2049, allocations: 0 / 0.6761 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.2052, allocations: 31.97 kB / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2052, allocations: 0 / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.2053, allocations: 31.97 kB / 0.6761 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2054, allocations: 7.984 kB / 0.6761 GB, free: 12.05 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.115e-05/0.2054, allocations: 117.7 kB / 0.6762 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.2055, allocations: 7.906 kB / 0.6762 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.2055, allocations: 11.91 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2055, allocations: 3.938 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2055, allocations: 0 / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2056, allocations: 4 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.2057, allocations: 185.5 kB / 0.6764 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2057, allocations: 0 / 0.6764 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.2059, allocations: 35.95 kB / 0.6765 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.206, allocations: 4 kB / 0.6765 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.206, allocations: 4 kB / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.206, allocations: 0 / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.206, allocations: 4.234 kB / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/0.2069, allocations: 260.9 kB / 0.6767 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.207, allocations: 89.08 kB / 0.6768 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.207, allocations: 8.156 kB / 0.6768 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.2072, allocations: 24.03 kB / 0.6768 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.2072, allocations: 7.938 kB / 0.6769 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.2073, allocations: 7.984 kB / 0.6769 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.2073, allocations: 83.22 kB / 0.6769 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2073, allocations: 0 / 0.6769 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002332/0.2075, allocations: 36 kB / 0.677 GB, free: 11.07 MB / 0.5137 GB 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 (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.0002191/0.2078, allocations: 131.3 kB / 0.6771 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005974/0.2084, allocations: 143.8 kB / 0.6772 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2084, allocations: 0 / 0.6772 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.2087, allocations: 75.86 kB / 0.6773 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.2088, allocations: 7.938 kB / 0.6773 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.2099, allocations: 265.3 kB / 0.6776 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.2101, allocations: 0.6768 MB / 0.6782 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.2103, allocations: 24 kB / 0.6783 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.2103, allocations: 11.44 kB / 0.6783 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of SimCode: time 1.91e-07/0.2103, allocations: 0 / 0.6783 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of Templates: time 0.003626/0.214, allocations: 1.13 MB / 0.6794 GB, free: 8.566 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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)