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.1723/0.1745, allocations: 80.83 MB / 0.6706 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001851/0.1764, allocations: 0.586 MB / 0.6712 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.179, allocations: 1.413 MB / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.179, allocations: 0 / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.1791, allocations: 7.938 kB / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.792e-05/0.1791, allocations: 0 / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.1797, allocations: 107.5 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.1798, allocations: 19.98 kB / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.1798, allocations: 15.92 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.868e-05/0.1799, allocations: 15.92 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.18, allocations: 27.91 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.18, allocations: 0 / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.1804, allocations: 227.5 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.1804, allocations: 7.984 kB / 0.673 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.1804, allocations: 11.92 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1807, allocations: 147.8 kB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1807, allocations: 0 / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1807, allocations: 3.938 kB / 0.6732 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.1807, allocations: 0 / 0.6732 GB, free: 15.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005454/0.1813, allocations: 363.6 kB / 0.6735 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1813, allocations: 11.97 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.1818, allocations: 72.75 kB / 0.6736 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.182, allocations: 164.3 kB / 0.6737 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.182, allocations: 4.375 kB / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.1821, allocations: 11.94 kB / 0.6738 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.1823, allocations: 77.62 kB / 0.6738 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1824, allocations: 0 / 0.6738 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1824, allocations: 4 kB / 0.6738 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1824, allocations: 4 kB / 0.6738 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.1827, allocations: 71.86 kB / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.183, allocations: 169.7 kB / 0.6741 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.1835, allocations: 138.4 kB / 0.6742 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.1836, allocations: 52.83 kB / 0.6743 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1837, allocations: 0 / 0.6743 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.1837, allocations: 38.55 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1837, allocations: 3.938 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB 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.0103/0.194, allocations: 2.429 MB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1941, allocations: 55.41 kB / 0.6767 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.1942, allocations: 101.8 kB / 0.6768 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1942, allocations: 25.7 kB / 0.6768 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.1942, allocations: 84.23 kB / 0.6769 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/0.1943, allocations: 43.39 kB / 0.677 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.1944, allocations: 29.7 kB / 0.677 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1945, allocations: 322.8 kB / 0.6773 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.195, allocations: 104 kB / 0.6774 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.1954, allocations: 103.9 kB / 0.6775 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008272/0.1963, allocations: 219.7 kB / 0.6777 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1963, allocations: 0 / 0.6777 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009499/0.1972, allocations: 265.4 kB / 0.678 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1973, allocations: 12 kB / 0.678 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1973, allocations: 0 / 0.678 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1973, allocations: 0 / 0.678 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.1977, allocations: 59.94 kB / 0.678 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1977, allocations: 3.938 kB / 0.678 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.198, allocations: 35.95 kB / 0.6781 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.198, allocations: 8 kB / 0.6781 GB, free: 9.988 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 (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 0.0001064/0.1981, allocations: 125.8 kB / 0.6782 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1981, allocations: 4 kB / 0.6782 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.1982, allocations: 11.97 kB / 0.6782 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1982, allocations: 4 kB / 0.6782 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1982, allocations: 0 / 0.6782 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1982, allocations: 0 / 0.6782 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.1996, allocations: 0.5563 MB / 0.6788 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1996, allocations: 0 / 0.6788 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.2, allocations: 71.94 kB / 0.6788 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2, allocations: 0 / 0.6788 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.2, allocations: 7.984 kB / 0.6788 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2, allocations: 0 / 0.6788 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2, allocations: 7.938 kB / 0.6788 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.2015, allocations: 475.1 kB / 0.6793 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-05/0.2016, allocations: 96.98 kB / 0.6794 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.2016, allocations: 7.922 kB / 0.6794 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.202, allocations: 40.02 kB / 0.6794 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.202, allocations: 15.92 kB / 0.6795 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.202, allocations: 8 kB / 0.6795 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.2021, allocations: 79.28 kB / 0.6795 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2021, allocations: 0 / 0.6795 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003909/0.2025, allocations: 99.98 kB / 0.6796 GB, free: 8.285 MB / 0.5137 GB 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.0003894/0.2029, allocations: 163.2 kB / 0.6798 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009596/0.2038, allocations: 227.8 kB / 0.68 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2038, allocations: 0 / 0.68 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.2043, allocations: 123.9 kB / 0.6801 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.2046, allocations: 7.938 kB / 0.6801 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.2068, allocations: 497.7 kB / 0.6806 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.2071, allocations: 0.6855 MB / 0.6813 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002539/0.2074, allocations: 59.98 kB / 0.6813 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.2075, allocations: 23.42 kB / 0.6814 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.2075, allocations: 0 / 0.6814 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of Templates: time 0.005245/0.2127, allocations: 2.315 MB / 0.6836 GB, free: 4.188 MB / 0.5137 GB 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)