Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.934/3.934, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002367/0.002367, allocations: 173.8 kB / 326.2 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.057/4.057, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001623/0.001622, allocations: 103.8 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007813/0.0007816, allocations: 14.19 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.35, allocations: 106.2 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3443/0.6944, allocations: 133.1 MB / 1.029 GB, free: 12.34 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004995/0.695, allocations: 87.95 kB / 1.03 GB, free: 12.25 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.04311/0.7382, allocations: 5.515 MB / 1.035 GB, free: 6.727 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.827e-06/0.7382, allocations: 0 / 1.035 GB, free: 6.727 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.7383, allocations: 4 kB / 1.035 GB, free: 6.723 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001067/0.7393, allocations: 403.2 kB / 1.035 GB, free: 6.277 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.7394, allocations: 8.031 kB / 1.035 GB, free: 6.27 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.7404, allocations: 72.78 kB / 1.035 GB, free: 6.199 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.7406, allocations: 164.4 kB / 1.036 GB, free: 6 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-05/0.7407, allocations: 12.31 kB / 1.036 GB, free: 5.988 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.7407, allocations: 4.375 kB / 1.036 GB, free: 5.984 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.7417, allocations: 124.4 kB / 1.036 GB, free: 5.859 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.7417, allocations: 4.188 kB / 1.036 GB, free: 5.855 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.7417, allocations: 3.938 kB / 1.036 GB, free: 5.852 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.7418, allocations: 0 / 1.036 GB, free: 5.852 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.7431, allocations: 131.9 kB / 1.036 GB, free: 5.723 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.7444, allocations: 344.5 kB / 1.036 GB, free: 5.336 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.7462, allocations: 186.4 kB / 1.036 GB, free: 5.145 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006637/0.7469, allocations: 64.81 kB / 1.036 GB, free: 5.078 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.747, allocations: 0 / 1.036 GB, free: 5.078 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.747, allocations: 34.56 kB / 1.036 GB, free: 5.035 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 2.705e-06/0.747, allocations: 0 / 1.036 GB, free: 5.035 MB / 0.6824 GB 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.05309/0.8002, allocations: 3.187 MB / 1.04 GB, free: 1.754 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.8003, allocations: 51.41 kB / 1.04 GB, free: 1.691 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.8005, allocations: 101.8 kB / 1.04 GB, free: 1.582 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.8006, allocations: 29.7 kB / 1.04 GB, free: 1.547 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.8008, allocations: 88.12 kB / 1.04 GB, free: 1.457 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.801, allocations: 43.34 kB / 1.04 GB, free: 1.414 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.8011, allocations: 8 kB / 1.04 GB, free: 1.406 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.8013, allocations: 318.8 kB / 1.04 GB, free: 1.086 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.8033, allocations: 211.8 kB / 1.04 GB, free: 0.8789 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.8052, allocations: 215.8 kB / 1.041 GB, free: 0.668 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.8075, allocations: 219.8 kB / 1.041 GB, free: 464 kB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.8076, allocations: 0 / 1.041 GB, free: 464 kB / 0.6824 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.004521/0.8121, allocations: 0.5142 MB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.8122, allocations: 8 kB / 1.041 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.8123, allocations: 0 / 1.041 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.8123, allocations: 0 / 1.041 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.8147, allocations: 119.8 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.8148, allocations: 96 / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.8166, allocations: 75.81 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.8168, allocations: 19.94 kB / 1.041 GB, free: 15.71 MB / 0.698 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 (13): * Single equations (assignments): 13 * 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.0003907/0.8173, allocations: 117.8 kB / 1.042 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.8175, allocations: 7.906 kB / 1.042 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.8176, allocations: 15.97 kB / 1.042 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.8176, allocations: 0 / 1.042 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.079e-05/0.8177, allocations: 4 kB / 1.042 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.8177, allocations: 7.875 kB / 1.042 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005994/0.8237, allocations: 1.094 MB / 1.043 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.8238, allocations: 0 / 1.043 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/0.8262, allocations: 119.8 kB / 1.043 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/0.8263, allocations: 4 kB / 1.043 GB, free: 14.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001794/0.8265, allocations: 23.88 kB / 1.043 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.8266, allocations: 7.922 kB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.8266, allocations: 0 / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006386/0.833, allocations: 0.8659 MB / 1.044 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.8335, allocations: 117 kB / 1.044 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.8337, allocations: 3.938 kB / 1.044 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/0.8358, allocations: 64 kB / 1.044 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.8361, allocations: 27.92 kB / 1.044 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.8363, allocations: 27.92 kB / 1.044 GB, free: 13.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001193/0.8365, allocations: 83.45 kB / 1.044 GB, free: 12.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.41e-07/0.8365, allocations: 4 kB / 1.044 GB, free: 12.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00109/0.8376, allocations: 63.92 kB / 1.044 GB, free: 12.91 MB / 0.698 GB 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 (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.0004969/0.8382, allocations: 115.1 kB / 1.044 GB, free: 12.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003969/0.8422, allocations: 475.5 kB / 1.045 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.8423, allocations: 0 / 1.045 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.8443, allocations: 251.7 kB / 1.045 GB, free: 12.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.8451, allocations: 15.53 kB / 1.045 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.8573, allocations: 0.854 MB / 1.046 GB, free: 11.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.8578, allocations: 0.6926 MB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001649/0.8595, allocations: 96.66 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006166/0.8602, allocations: 59.23 kB / 1.047 GB, free: 10.31 MB / 0.698 GB Notification: Performance of SimCode: time 2.144e-06/0.8602, allocations: 0 / 1.047 GB, free: 10.31 MB / 0.698 GB Notification: Performance of Templates: time 0.01505/0.8752, allocations: 3.25 MB / 1.05 GB, free: 7.055 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)