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.1627/0.1634, allocations: 82.22 MB / 0.5941 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.000632/0.1641, allocations: 308.8 kB / 0.5944 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1659, allocations: 1.406 MB / 0.5958 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.453e-05/0.1659, allocations: 0 / 0.5958 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.013e-05/0.1659, allocations: 0 / 0.5958 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.281e-05/0.1659, allocations: 0 / 0.5958 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.1663, allocations: 79.7 kB / 0.5959 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.965e-05/0.1663, allocations: 23.98 kB / 0.5959 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.1664, allocations: 0 / 0.5959 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.1664, allocations: 11.98 kB / 0.5959 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.1665, allocations: 19.91 kB / 0.5959 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1665, allocations: 4 kB / 0.5959 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.1668, allocations: 219.5 kB / 0.5961 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.1668, allocations: 0 / 0.5961 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.1669, allocations: 45.61 kB / 0.5962 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.1671, allocations: 132.1 kB / 0.5963 GB, free: 3.297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1671, allocations: 0 / 0.5963 GB, free: 3.297 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1671, allocations: 0 / 0.5963 GB, free: 3.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1672, allocations: 4 kB / 0.5963 GB, free: 3.293 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004232/0.1676, allocations: 359.4 kB / 0.5966 GB, free: 2.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1676, allocations: 12.03 kB / 0.5967 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00048/0.1681, allocations: 76.84 kB / 0.5967 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1682, allocations: 164.4 kB / 0.5969 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.1683, allocations: 8.375 kB / 0.5969 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1683, allocations: 8.125 kB / 0.5969 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.1686, allocations: 77.62 kB / 0.597 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1686, allocations: 0 / 0.597 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1686, allocations: 7.984 kB / 0.597 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1686, allocations: 4 kB / 0.597 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.1689, allocations: 75.88 kB / 0.5971 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.1691, allocations: 153.7 kB / 0.5972 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.1697, allocations: 138.5 kB / 0.5973 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1699, allocations: 60.84 kB / 0.5974 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1699, allocations: 4 kB / 0.5974 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.17, allocations: 30.56 kB / 0.5974 GB, free: 1.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.17, allocations: 0 / 0.5974 GB, free: 1.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.00368/0.1737, allocations: 0.9915 MB / 0.5984 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1737, allocations: 55.41 kB / 0.5985 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.372e-05/0.1738, allocations: 101.8 kB / 0.5985 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1738, allocations: 29.83 kB / 0.5986 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.1739, allocations: 80.14 kB / 0.5987 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.1739, allocations: 15.72 kB / 0.5987 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.1739, allocations: 17.7 kB / 0.5987 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.174, allocations: 314.8 kB / 0.599 GB, free: 268 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.1743, allocations: 75.94 kB / 0.5991 GB, free: 192 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.1746, allocations: 83.92 kB / 0.5991 GB, free: 108 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.1752, allocations: 156.8 kB / 0.5993 GB, free: 15.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1752, allocations: 3.938 kB / 0.5993 GB, free: 15.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006375/0.1759, allocations: 201.4 kB / 0.5995 GB, free: 15.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1759, allocations: 4 kB / 0.5995 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1759, allocations: 4 kB / 0.5995 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1759, allocations: 0 / 0.5995 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.1762, allocations: 43.95 kB / 0.5995 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1762, allocations: 0 / 0.5995 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1763, allocations: 31.97 kB / 0.5996 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1764, allocations: 4 kB / 0.5996 GB, free: 15.66 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 (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 9.447e-05/0.1765, allocations: 122.6 kB / 0.5997 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.1765, allocations: 7.938 kB / 0.5997 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.1765, allocations: 11.97 kB / 0.5997 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1765, allocations: 0 / 0.5997 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1766, allocations: 0 / 0.5997 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1766, allocations: 0 / 0.5997 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1767, allocations: 181.4 kB / 0.5999 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1767, allocations: 3.984 kB / 0.5999 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.177, allocations: 44.3 kB / 0.5999 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.177, allocations: 0 / 0.5999 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.177, allocations: 7.984 kB / 0.5999 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.177, allocations: 0 / 0.5999 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.177, allocations: 0 / 0.5999 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/0.178, allocations: 312.9 kB / 0.6002 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/0.1781, allocations: 93.02 kB / 0.6003 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1781, allocations: 3.938 kB / 0.6003 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.1783, allocations: 40.03 kB / 0.6004 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.1783, allocations: 0 / 0.6004 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1783, allocations: 7.984 kB / 0.6004 GB, free: 14.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.069e-05/0.1784, allocations: 75.28 kB / 0.6004 GB, free: 14.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1784, allocations: 0 / 0.6004 GB, free: 14.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1786, allocations: 40 kB / 0.6005 GB, free: 14.62 MB / 462.1 MB 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.0002222/0.1789, allocations: 131.2 kB / 0.6006 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.1795, allocations: 171.9 kB / 0.6008 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1795, allocations: 3.938 kB / 0.6008 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.1799, allocations: 91.86 kB / 0.6009 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.18, allocations: 3.938 kB / 0.6009 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1811, allocations: 300.2 kB / 0.6011 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1813, allocations: 0.6809 MB / 0.6018 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.1815, allocations: 24 kB / 0.6018 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.1816, allocations: 11.44 kB / 0.6018 GB, free: 13.17 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1816, allocations: 0 / 0.6018 GB, free: 13.17 MB / 462.1 MB Notification: Performance of Templates: time 0.003382/0.185, allocations: 1.08 MB / 0.6029 GB, free: 12.14 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: