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.2298/0.2307, allocations: 82.22 MB / 0.5935 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.000796/0.2316, allocations: 300.8 kB / 0.5938 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.2334, allocations: 1.355 MB / 0.5951 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.2335, allocations: 0 / 0.5951 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.2335, allocations: 0 / 0.5951 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.268e-05/0.2335, allocations: 0 / 0.5951 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.2339, allocations: 71.78 kB / 0.5952 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.358e-05/0.234, allocations: 19.97 kB / 0.5952 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.234, allocations: 0 / 0.5952 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.2341, allocations: 15.92 kB / 0.5952 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.578e-05/0.2341, allocations: 11.98 kB / 0.5952 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2342, allocations: 7.938 kB / 0.5952 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.2345, allocations: 215.5 kB / 0.5954 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.2345, allocations: 7.984 kB / 0.5954 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.2345, allocations: 29.7 kB / 0.5954 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.2347, allocations: 96.17 kB / 0.5955 GB, free: 3.836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2347, allocations: 8 kB / 0.5955 GB, free: 3.828 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2347, allocations: 0 / 0.5955 GB, free: 3.828 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2347, allocations: 0 / 0.5955 GB, free: 3.828 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.0004555/0.2352, allocations: 355.2 kB / 0.5959 GB, free: 3.434 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2352, allocations: 8.031 kB / 0.5959 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004177/0.2357, allocations: 79.92 kB / 0.596 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2358, allocations: 171 kB / 0.5961 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2359, allocations: 0 / 0.5961 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.2359, allocations: 7.953 kB / 0.5961 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.2361, allocations: 81.62 kB / 0.5962 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2362, allocations: 0 / 0.5962 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2362, allocations: 0 / 0.5962 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2362, allocations: 0 / 0.5962 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.2365, allocations: 71.94 kB / 0.5963 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.2367, allocations: 165.7 kB / 0.5964 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.2372, allocations: 138.4 kB / 0.5966 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.2373, allocations: 56.86 kB / 0.5966 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.2374, allocations: 0 / 0.5966 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.2374, allocations: 30.56 kB / 0.5967 GB, free: 2.523 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.2374, allocations: 0 / 0.5967 GB, free: 2.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003095/0.2405, allocations: 1.002 MB / 0.5976 GB, free: 1.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.2406, allocations: 51.41 kB / 0.5977 GB, free: 1.387 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.2406, allocations: 101.8 kB / 0.5978 GB, free: 1.277 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.2407, allocations: 29.7 kB / 0.5978 GB, free: 1.242 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.2407, allocations: 80.14 kB / 0.5979 GB, free: 1.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.2408, allocations: 19.7 kB / 0.5979 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/0.2408, allocations: 4 kB / 0.5979 GB, free: 1.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2409, allocations: 314.8 kB / 0.5982 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.2412, allocations: 72.06 kB / 0.5983 GB, free: 0.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.2414, allocations: 87.92 kB / 0.5984 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.2416, allocations: 67.95 kB / 0.5984 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2416, allocations: 0 / 0.5984 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005199/0.2422, allocations: 197.5 kB / 0.5986 GB, free: 408 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2422, allocations: 4 kB / 0.5986 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.2422, allocations: 0 / 0.5986 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2422, allocations: 4 kB / 0.5986 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2424, allocations: 51.89 kB / 0.5987 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.2425, allocations: 0 / 0.5987 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.2426, allocations: 31.97 kB / 0.5987 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.2426, allocations: 7.984 kB / 0.5987 GB, free: 308 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.2427, allocations: 118.7 kB / 0.5988 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.2428, allocations: 7.859 kB / 0.5988 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.2428, allocations: 11.97 kB / 0.5988 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2428, allocations: 4 kB / 0.5989 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2428, allocations: 0 / 0.5989 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2428, allocations: 0 / 0.5989 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.243, allocations: 177.8 kB / 0.599 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.2431, allocations: 0 / 0.599 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.2433, allocations: 47.92 kB / 0.5991 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.2433, allocations: 8.312 kB / 0.5991 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.2433, allocations: 0 / 0.5991 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2433, allocations: 0 / 0.5991 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2433, allocations: 0 / 0.5991 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.2441, allocations: 312.9 kB / 0.5994 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.858e-05/0.2442, allocations: 88.98 kB / 0.5995 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.2443, allocations: 3.953 kB / 0.5995 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2444, allocations: 36.03 kB / 0.5995 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.2445, allocations: 3.984 kB / 0.5995 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.2445, allocations: 4 kB / 0.5995 GB, free: 15.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.631e-05/0.2445, allocations: 79.28 kB / 0.5996 GB, free: 15.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2445, allocations: 4 kB / 0.5996 GB, free: 15.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000248/0.2448, allocations: 35.98 kB / 0.5996 GB, free: 15.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002313/0.245, allocations: 139.2 kB / 0.5997 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005666/0.2456, allocations: 167.9 kB / 0.5999 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2456, allocations: 3.938 kB / 0.5999 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.2459, allocations: 84.05 kB / 0.6 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.246, allocations: 8 kB / 0.6 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009176/0.247, allocations: 292.4 kB / 0.6003 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.2472, allocations: 0.6809 MB / 0.6009 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.2474, allocations: 24 kB / 0.601 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.2474, allocations: 15.42 kB / 0.601 GB, free: 13.82 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2475, allocations: 0 / 0.601 GB, free: 13.82 MB / 462.1 MB Notification: Performance of Templates: time 0.003896/0.2514, allocations: 1.062 MB / 0.602 GB, free: 12.8 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: