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.1799/0.1806, allocations: 82.22 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008992/0.1815, allocations: 316.8 kB / 0.5944 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.1837, allocations: 1.409 MB / 0.5958 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.1838, allocations: 4 kB / 0.5958 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.1838, allocations: 0 / 0.5958 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.63e-05/0.1838, allocations: 0 / 0.5958 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.1842, allocations: 87.7 kB / 0.5959 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.1843, allocations: 27.97 kB / 0.5959 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.1843, allocations: 0 / 0.5959 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.912e-05/0.1844, allocations: 19.92 kB / 0.5959 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.1845, allocations: 19.97 kB / 0.596 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1845, allocations: 0 / 0.596 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.1848, allocations: 219.6 kB / 0.5962 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.1848, allocations: 7.922 kB / 0.5962 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.1849, allocations: 41.62 kB / 0.5962 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.1851, allocations: 155.9 kB / 0.5964 GB, free: 3.246 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1851, allocations: 0 / 0.5964 GB, free: 3.246 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1851, allocations: 0 / 0.5964 GB, free: 3.246 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1851, allocations: 0 / 0.5964 GB, free: 3.246 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.0004797/0.1856, allocations: 363.5 kB / 0.5967 GB, free: 2.844 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1857, allocations: 8.031 kB / 0.5967 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004637/0.1861, allocations: 84.8 kB / 0.5968 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1863, allocations: 168.3 kB / 0.597 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.1863, allocations: 4.375 kB / 0.597 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.1863, allocations: 8.125 kB / 0.597 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1866, allocations: 81.64 kB / 0.597 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1866, allocations: 4 kB / 0.5971 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.1866, allocations: 4 kB / 0.5971 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1866, allocations: 0 / 0.5971 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.187, allocations: 83.91 kB / 0.5971 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.1872, allocations: 181.5 kB / 0.5973 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.1877, allocations: 158.4 kB / 0.5975 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.1878, allocations: 64.75 kB / 0.5975 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.1879, allocations: 4 kB / 0.5975 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1879, allocations: 30.56 kB / 0.5976 GB, free: 1.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1879, allocations: 0 / 0.5976 GB, free: 1.863 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.01043/0.1983, allocations: 2.734 MB / 0.6002 GB, free: 15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1984, allocations: 55.41 kB / 0.6003 GB, free: 14.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.1985, allocations: 93.86 kB / 0.6004 GB, free: 14.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.1985, allocations: 33.7 kB / 0.6004 GB, free: 14.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.1986, allocations: 80.14 kB / 0.6005 GB, free: 14.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.1986, allocations: 35.55 kB / 0.6005 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.1987, allocations: 25.64 kB / 0.6005 GB, free: 14.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1988, allocations: 318.8 kB / 0.6008 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/0.1992, allocations: 128 kB / 0.601 GB, free: 14.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.1997, allocations: 127.9 kB / 0.6011 GB, free: 14.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008183/0.2005, allocations: 244.7 kB / 0.6013 GB, free: 13.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2005, allocations: 7.938 kB / 0.6013 GB, free: 13.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009849/0.2015, allocations: 308.6 kB / 0.6016 GB, free: 13.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2015, allocations: 8 kB / 0.6016 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2015, allocations: 3.984 kB / 0.6016 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2016, allocations: 0 / 0.6016 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.2019, allocations: 75.94 kB / 0.6017 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.202, allocations: 0 / 0.6017 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.2022, allocations: 47.95 kB / 0.6017 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.2023, allocations: 7.984 kB / 0.6018 GB, free: 13.38 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 0.0001213/0.2024, allocations: 126.5 kB / 0.6019 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.2024, allocations: 8 kB / 0.6019 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.2025, allocations: 11.97 kB / 0.6019 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2025, allocations: 0 / 0.6019 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2025, allocations: 0 / 0.6019 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2025, allocations: 3.984 kB / 0.6019 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.2038, allocations: 0.5879 MB / 0.6025 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2038, allocations: 4 kB / 0.6025 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.2042, allocations: 83.86 kB / 0.6026 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2042, allocations: 0 / 0.6026 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.2043, allocations: 8 kB / 0.6026 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2043, allocations: 0 / 0.6026 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2043, allocations: 0 / 0.6026 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.2057, allocations: 0.5296 MB / 0.6031 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.2058, allocations: 97.02 kB / 0.6032 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.2058, allocations: 4 kB / 0.6032 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.2061, allocations: 48.02 kB / 0.6032 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.2062, allocations: 23.86 kB / 0.6032 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.2062, allocations: 11.98 kB / 0.6033 GB, free: 11.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.424e-05/0.2063, allocations: 75.28 kB / 0.6033 GB, free: 11.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2063, allocations: 0 / 0.6033 GB, free: 11.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004052/0.2067, allocations: 104 kB / 0.6034 GB, free: 11.57 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.0004035/0.2071, allocations: 171.1 kB / 0.6036 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009389/0.2081, allocations: 275.9 kB / 0.6039 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2081, allocations: 0 / 0.6039 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.2085, allocations: 147.8 kB / 0.604 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.2088, allocations: 8.125 kB / 0.604 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.211, allocations: 0.5764 MB / 0.6046 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.2113, allocations: 0.6887 MB / 0.6052 GB, free: 9.656 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003182/0.2116, allocations: 59.94 kB / 0.6053 GB, free: 9.602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.742e-05/0.2117, allocations: 23.42 kB / 0.6053 GB, free: 9.578 MB / 462.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2117, allocations: 0 / 0.6053 GB, free: 9.578 MB / 462.1 MB Notification: Performance of Templates: time 0.004775/0.2165, allocations: 2.234 MB / 0.6075 GB, free: 7.449 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: