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.2163/0.2183, allocations: 80.83 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002652/0.221, allocations: 0.6384 MB / 0.5903 GB, free: 6.492 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.2234, allocations: 1.421 MB / 0.5917 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.2235, allocations: 0 / 0.5917 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.2235, allocations: 3.938 kB / 0.5917 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.235e-05/0.2236, allocations: 0 / 0.5917 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.224, allocations: 75.77 kB / 0.5918 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.002e-05/0.2241, allocations: 19.98 kB / 0.5918 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.806e-05/0.2242, allocations: 4 kB / 0.5918 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.795e-05/0.2242, allocations: 12 kB / 0.5918 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.2243, allocations: 15.91 kB / 0.5918 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2243, allocations: 0 / 0.5918 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.2247, allocations: 223.5 kB / 0.592 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.885e-05/0.2247, allocations: 7.984 kB / 0.592 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.2248, allocations: 7.938 kB / 0.5921 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.225, allocations: 140.1 kB / 0.5922 GB, free: 4.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.225, allocations: 0 / 0.5922 GB, free: 4.555 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2251, allocations: 3.938 kB / 0.5922 GB, free: 4.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.2251, allocations: 3.938 kB / 0.5922 GB, free: 4.547 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.0006649/0.2257, allocations: 366.9 kB / 0.5925 GB, free: 4.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2258, allocations: 8.031 kB / 0.5926 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005445/0.2263, allocations: 72.84 kB / 0.5926 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.2265, allocations: 160.4 kB / 0.5928 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.2266, allocations: 384 / 0.5928 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.507e-05/0.2267, allocations: 8.125 kB / 0.5928 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.2269, allocations: 69.64 kB / 0.5928 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2269, allocations: 0 / 0.5928 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.227, allocations: 4 kB / 0.5929 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.227, allocations: 4 kB / 0.5929 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.2273, allocations: 63.92 kB / 0.5929 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.2275, allocations: 157.6 kB / 0.5931 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.2281, allocations: 118.5 kB / 0.5932 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2283, allocations: 52.78 kB / 0.5932 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.2283, allocations: 4 kB / 0.5932 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.2283, allocations: 34.56 kB / 0.5933 GB, free: 3.289 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2284, allocations: 0 / 0.5933 GB, free: 3.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003624/0.232, allocations: 0.8978 MB / 0.5941 GB, free: 2.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.232, allocations: 51.41 kB / 0.5942 GB, free: 2.254 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.2321, allocations: 97.86 kB / 0.5943 GB, free: 2.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2322, allocations: 25.7 kB / 0.5943 GB, free: 2.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.2322, allocations: 80.14 kB / 0.5944 GB, free: 2.035 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.2323, allocations: 27.64 kB / 0.5944 GB, free: 2.008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.2324, allocations: 17.72 kB / 0.5944 GB, free: 1.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.2326, allocations: 323 kB / 0.5947 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.2329, allocations: 63.92 kB / 0.5948 GB, free: 1.598 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.2333, allocations: 63.94 kB / 0.5949 GB, free: 1.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.234, allocations: 128.7 kB / 0.595 GB, free: 1.406 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.234, allocations: 7.875 kB / 0.595 GB, free: 1.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008152/0.2348, allocations: 173.4 kB / 0.5952 GB, free: 1.223 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.2348, allocations: 4 kB / 0.5952 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2348, allocations: 0 / 0.5952 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2349, allocations: 4 kB / 0.5952 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.2352, allocations: 35.95 kB / 0.5952 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2352, allocations: 0 / 0.5952 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.2354, allocations: 31.97 kB / 0.5952 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2355, allocations: 0 / 0.5952 GB, free: 1.148 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 (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 0.0001505/0.2356, allocations: 114.7 kB / 0.5953 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.2357, allocations: 0 / 0.5953 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.2357, allocations: 7.969 kB / 0.5953 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2357, allocations: 8 kB / 0.5954 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.2358, allocations: 0 / 0.5954 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.2358, allocations: 3.984 kB / 0.5954 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.2361, allocations: 177.5 kB / 0.5955 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2361, allocations: 0 / 0.5955 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.2363, allocations: 39.89 kB / 0.5956 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2363, allocations: 0 / 0.5956 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.2364, allocations: 16.06 kB / 0.5956 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2364, allocations: 0 / 0.5956 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2364, allocations: 0 / 0.5956 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009005/0.2373, allocations: 264.8 kB / 0.5958 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.2374, allocations: 93.03 kB / 0.5959 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.2375, allocations: 0 / 0.5959 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.2376, allocations: 28.03 kB / 0.5959 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.2377, allocations: 7.984 kB / 0.596 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.2377, allocations: 0 / 0.596 GB, free: 312 kB / 446.1 MB Notification: Performance of sorting global known variables: time 4.395e-05/0.2377, allocations: 79.28 kB / 0.596 GB, free: 232 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2377, allocations: 3.938 kB / 0.596 GB, free: 228 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.238, allocations: 44.09 kB / 0.5961 GB, free: 184 kB / 446.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.0002704/0.2383, allocations: 123.2 kB / 0.5962 GB, free: 52 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007705/0.2391, allocations: 139.8 kB / 0.5963 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2392, allocations: 4 kB / 0.5963 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.2394, allocations: 75.86 kB / 0.5964 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.2396, allocations: 11.88 kB / 0.5964 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/0.2406, allocations: 259.4 kB / 0.5967 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2409, allocations: 0.677 MB / 0.5973 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.241, allocations: 24 kB / 0.5973 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.2411, allocations: 15.42 kB / 0.5974 GB, free: 14.81 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2411, allocations: 0 / 0.5974 GB, free: 14.81 MB / 462.1 MB Notification: Performance of Templates: time 0.003357/0.2445, allocations: 1.09 MB / 0.5984 GB, free: 13.78 MB / 462.1 MB 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)