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.2494/0.2513, allocations: 80.83 MB / 0.5897 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002721/0.2541, allocations: 0.6462 MB / 0.5903 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.2572, allocations: 1.425 MB / 0.5917 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.2572, allocations: 0 / 0.5917 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.2573, allocations: 11.94 kB / 0.5917 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.153e-05/0.2573, allocations: 0 / 0.5917 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.2579, allocations: 79.77 kB / 0.5918 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.258, allocations: 27.97 kB / 0.5918 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.43e-05/0.258, allocations: 3.984 kB / 0.5918 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.2581, allocations: 15.94 kB / 0.5918 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.784e-05/0.2582, allocations: 23.91 kB / 0.5919 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2583, allocations: 0 / 0.5919 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005866/0.2589, allocations: 227.5 kB / 0.5921 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.2589, allocations: 4 kB / 0.5921 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.259, allocations: 15.92 kB / 0.5921 GB, free: 4.578 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.2594, allocations: 148 kB / 0.5922 GB, free: 4.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2594, allocations: 0 / 0.5922 GB, free: 4.434 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2594, allocations: 0 / 0.5922 GB, free: 4.434 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2594, allocations: 0 / 0.5922 GB, free: 4.434 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.0007129/0.2601, allocations: 371.5 kB / 0.5926 GB, free: 4.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.2602, allocations: 11.97 kB / 0.5926 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007566/0.261, allocations: 68.84 kB / 0.5927 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.2612, allocations: 164.3 kB / 0.5928 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.2612, allocations: 8.375 kB / 0.5928 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.2613, allocations: 4.125 kB / 0.5928 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.2617, allocations: 81.62 kB / 0.5929 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2617, allocations: 7.906 kB / 0.5929 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.2617, allocations: 0 / 0.5929 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2617, allocations: 0 / 0.5929 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.2623, allocations: 75.86 kB / 0.593 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.2626, allocations: 177.5 kB / 0.5932 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007751/0.2634, allocations: 134.5 kB / 0.5933 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.2637, allocations: 56.77 kB / 0.5934 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.2637, allocations: 0 / 0.5934 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.2638, allocations: 30.56 kB / 0.5934 GB, free: 3.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.2638, allocations: 0 / 0.5934 GB, free: 3.105 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.01722/0.281, allocations: 2.43 MB / 0.5958 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.2812, allocations: 55.41 kB / 0.5958 GB, free: 500 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2813, allocations: 97.84 kB / 0.5959 GB, free: 392 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.2814, allocations: 33.77 kB / 0.5959 GB, free: 352 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.2815, allocations: 84.14 kB / 0.596 GB, free: 264 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.2816, allocations: 31.47 kB / 0.596 GB, free: 232 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.2817, allocations: 45.69 kB / 0.5961 GB, free: 180 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.282, allocations: 318.7 kB / 0.5964 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008289/0.2828, allocations: 107.9 kB / 0.5965 GB, free: 15.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/0.2834, allocations: 115.4 kB / 0.5966 GB, free: 15.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009339/0.2843, allocations: 204.6 kB / 0.5968 GB, free: 15.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2844, allocations: 0 / 0.5968 GB, free: 15.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009516/0.2853, allocations: 257.5 kB / 0.597 GB, free: 15.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.2854, allocations: 7.984 kB / 0.5971 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2854, allocations: 4 kB / 0.5971 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.2854, allocations: 4 kB / 0.5971 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.2858, allocations: 59.94 kB / 0.5971 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.2859, allocations: 4 kB / 0.5971 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.2861, allocations: 35.95 kB / 0.5972 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.2862, allocations: 8 kB / 0.5972 GB, free: 15.06 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.0001535/0.2863, allocations: 130.5 kB / 0.5973 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.2864, allocations: 11.91 kB / 0.5973 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.551e-05/0.2865, allocations: 7.969 kB / 0.5973 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2865, allocations: 0 / 0.5973 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.2865, allocations: 0 / 0.5973 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2865, allocations: 4 kB / 0.5973 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.288, allocations: 0.5488 MB / 0.5978 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.288, allocations: 0 / 0.5978 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.2884, allocations: 63.94 kB / 0.5979 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.2884, allocations: 0 / 0.5979 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.2885, allocations: 7.984 kB / 0.5979 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.2885, allocations: 0 / 0.5979 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2885, allocations: 0 / 0.5979 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.29, allocations: 489.9 kB / 0.5984 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/0.2901, allocations: 97.05 kB / 0.5985 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.2901, allocations: 0 / 0.5985 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.2904, allocations: 48 kB / 0.5985 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.2905, allocations: 11.92 kB / 0.5985 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.2905, allocations: 4 kB / 0.5985 GB, free: 13.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.442e-05/0.2906, allocations: 79.28 kB / 0.5986 GB, free: 13.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2906, allocations: 4.094 kB / 0.5986 GB, free: 13.47 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.2911, allocations: 99.98 kB / 0.5987 GB, free: 13.38 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.000586/0.2917, allocations: 167.2 kB / 0.5989 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009523/0.2927, allocations: 231.7 kB / 0.5991 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.2927, allocations: 0 / 0.5991 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.2931, allocations: 119.8 kB / 0.5992 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.2934, allocations: 9.125 kB / 0.5992 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.2957, allocations: 499.5 kB / 0.5997 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.296, allocations: 0.6887 MB / 0.6004 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000348/0.2964, allocations: 59.98 kB / 0.6004 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.2965, allocations: 23.42 kB / 0.6004 GB, free: 11.54 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2965, allocations: 0 / 0.6004 GB, free: 11.54 MB / 462.1 MB Notification: Performance of Templates: time 0.00661/0.3031, allocations: 2.219 MB / 0.6026 GB, free: 9.434 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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)