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.2141/0.2165, allocations: 80.85 MB / 0.6707 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002464/0.219, allocations: 0.5626 MB / 0.6712 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.2212, allocations: 1.401 MB / 0.6726 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.2213, allocations: 0 / 0.6726 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.2213, allocations: 0 / 0.6726 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.912e-05/0.2214, allocations: 0 / 0.6726 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.2219, allocations: 111.5 kB / 0.6727 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.327e-05/0.222, allocations: 15.98 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.222, allocations: 7.984 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.13e-05/0.2221, allocations: 7.938 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.667e-05/0.2222, allocations: 19.97 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.2222, allocations: 0 / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.2226, allocations: 227.5 kB / 0.673 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.2226, allocations: 3.984 kB / 0.673 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.2226, allocations: 19.92 kB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.2229, allocations: 131.7 kB / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2229, allocations: 0 / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2229, allocations: 0 / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.2229, allocations: 3.938 kB / 0.6731 GB, free: 15.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005769/0.2235, allocations: 355.5 kB / 0.6734 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2236, allocations: 8.031 kB / 0.6734 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004963/0.2241, allocations: 72.84 kB / 0.6735 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.2242, allocations: 168.3 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.2243, allocations: 384 / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.2243, allocations: 15.92 kB / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.2246, allocations: 65.64 kB / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2246, allocations: 0 / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2246, allocations: 0 / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2247, allocations: 4 kB / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.225, allocations: 63.92 kB / 0.6738 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.2252, allocations: 161.7 kB / 0.674 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.2258, allocations: 126.4 kB / 0.6741 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.226, allocations: 40.92 kB / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.226, allocations: 0 / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.2261, allocations: 34.56 kB / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2261, allocations: 0 / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.003656/0.2298, allocations: 0.8978 MB / 0.675 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.2298, allocations: 51.41 kB / 0.6751 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.2299, allocations: 93.86 kB / 0.6752 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.2299, allocations: 29.7 kB / 0.6752 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.23, allocations: 88.2 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.23, allocations: 23.7 kB / 0.6753 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.2301, allocations: 25.7 kB / 0.6753 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2302, allocations: 310.8 kB / 0.6756 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.2305, allocations: 59.94 kB / 0.6757 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.2308, allocations: 71.92 kB / 0.6758 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.2313, allocations: 128.8 kB / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2313, allocations: 0 / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005928/0.2319, allocations: 173.5 kB / 0.6761 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2319, allocations: 8 kB / 0.6761 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.232, allocations: 0 / 0.6761 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.232, allocations: 0 / 0.6761 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.2322, allocations: 39.95 kB / 0.6761 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2322, allocations: 0 / 0.6761 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.2324, allocations: 23.97 kB / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.2324, allocations: 0 / 0.6761 GB, free: 12.09 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 (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.0001089/0.2325, allocations: 129.7 kB / 0.6762 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.2326, allocations: 3.906 kB / 0.6763 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.2326, allocations: 15.95 kB / 0.6763 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2326, allocations: 0 / 0.6763 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.2326, allocations: 0 / 0.6763 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2327, allocations: 336 / 0.6763 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.2329, allocations: 177.5 kB / 0.6764 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2329, allocations: 0 / 0.6764 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.2331, allocations: 43.89 kB / 0.6765 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2331, allocations: 0 / 0.6765 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.2332, allocations: 4 kB / 0.6765 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2332, allocations: 0 / 0.6765 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.2332, allocations: 3.984 kB / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009611/0.2342, allocations: 272.8 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.2343, allocations: 85.12 kB / 0.6768 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.2343, allocations: 8.125 kB / 0.6768 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.2345, allocations: 23.97 kB / 0.6769 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2345, allocations: 7.984 kB / 0.6769 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2346, allocations: 8 kB / 0.6769 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.2346, allocations: 79.28 kB / 0.6769 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2346, allocations: 0 / 0.6769 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002861/0.2349, allocations: 43.98 kB / 0.677 GB, free: 11.09 MB / 0.5137 GB 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.0002749/0.2352, allocations: 131.2 kB / 0.6771 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006319/0.2358, allocations: 140 kB / 0.6772 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2358, allocations: 0 / 0.6772 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.2361, allocations: 75.88 kB / 0.6773 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.2363, allocations: 7.938 kB / 0.6773 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.2375, allocations: 261.3 kB / 0.6776 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.2378, allocations: 0.6768 MB / 0.6782 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.2379, allocations: 24 kB / 0.6783 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.238, allocations: 15.42 kB / 0.6783 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.238, allocations: 4 kB / 0.6783 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of Templates: time 0.004366/0.2424, allocations: 1.114 MB / 0.6794 GB, free: 8.609 MB / 0.5137 GB 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)