Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 251.9 MB / 266.9 MB, free: 11 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.001176/0.001176, allocations: 190.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008895/0.0008895, allocations: 94.03 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003781, allocations: 9.656 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2479, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.4233, allocations: 133.2 MB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4235, allocations: 79.95 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01686/0.4404, allocations: 5.484 MB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4405, allocations: 0 / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.4405, allocations: 0 / 1.036 GB, free: 4.809 MB / 0.6823 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.0006596/0.4411, allocations: 403 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.4412, allocations: 12.03 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.4413, allocations: 42.55 kB / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.4417, allocations: 67.84 kB / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.4419, allocations: 163 kB / 1.036 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.4419, allocations: 7.984 kB / 1.036 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.442, allocations: 11.94 kB / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.4424, allocations: 121.5 kB / 1.037 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4424, allocations: 0 / 1.037 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.4424, allocations: 4 kB / 1.037 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.4424, allocations: 0 / 1.037 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.4429, allocations: 123.9 kB / 1.037 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006786/0.4436, allocations: 348.5 kB / 1.037 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.4443, allocations: 186.4 kB / 1.037 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.4443, allocations: 0 / 1.037 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4444, allocations: 38.56 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4444, allocations: 0 / 1.037 GB, free: 3.141 MB / 0.6823 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.01996/0.4643, allocations: 3.186 MB / 1.04 GB, free: 15.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.4644, allocations: 51.41 kB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.4645, allocations: 101 kB / 1.04 GB, free: 15.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.4646, allocations: 29.7 kB / 1.04 GB, free: 15.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.4646, allocations: 92.05 kB / 1.041 GB, free: 15.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/0.4647, allocations: 35.45 kB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.4647, allocations: 4 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.4648, allocations: 318.8 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/0.4655, allocations: 215.9 kB / 1.041 GB, free: 14.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.4661, allocations: 218.9 kB / 1.041 GB, free: 14.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.4668, allocations: 219.8 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4668, allocations: 0 / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001493/0.4683, allocations: 0.5169 MB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4683, allocations: 7.953 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4683, allocations: 0 / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4683, allocations: 0 / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008666/0.4692, allocations: 119.7 kB / 1.042 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.4692, allocations: 4.469 kB / 1.042 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/0.4699, allocations: 55.94 kB / 1.042 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.47, allocations: 27.92 kB / 1.042 GB, free: 13.83 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.0001972/0.4702, allocations: 121.8 kB / 1.042 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.4703, allocations: 7.906 kB / 1.042 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.718e-05/0.4704, allocations: 11.92 kB / 1.042 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/0.4704, allocations: 7.984 kB / 1.042 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4704, allocations: 0 / 1.042 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4704, allocations: 0 / 1.042 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.4726, allocations: 1.105 MB / 1.043 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4727, allocations: 0 / 1.043 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008928/0.4736, allocations: 123.8 kB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.4736, allocations: 3.984 kB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.4736, allocations: 19.94 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4736, allocations: 0 / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4737, allocations: 4 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.476, allocations: 0.8658 MB / 1.044 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.4762, allocations: 129 kB / 1.045 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.4762, allocations: 0 / 1.045 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/0.477, allocations: 59.94 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.4771, allocations: 27.92 kB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.4771, allocations: 28.02 kB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.4772, allocations: 83.22 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4772, allocations: 0 / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000398/0.4776, allocations: 59.94 kB / 1.045 GB, free: 11.03 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.002601/0.4802, allocations: 1.415 MB / 1.046 GB, free: 9.586 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.4816, allocations: 479.5 kB / 1.047 GB, free: 9.117 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.4816, allocations: 0 / 1.047 GB, free: 9.117 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.4823, allocations: 243.7 kB / 1.047 GB, free: 8.879 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.4825, allocations: 12 kB / 1.047 GB, free: 8.867 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006731/0.4893, allocations: 1.861 MB / 1.049 GB, free: 6.957 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.4897, allocations: 0.7004 MB / 1.049 GB, free: 6.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006895/0.4904, allocations: 88.67 kB / 1.049 GB, free: 6.145 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.4907, allocations: 71.3 kB / 1.05 GB, free: 6.074 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.4907, allocations: 0 / 1.05 GB, free: 6.074 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.508, allocations: 4.155 MB / 1.054 GB, free: 2.094 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.5083, allocations: 217.2 kB / 1.054 GB, free: 1.852 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.211, allocations: 8 kB / 1.054 GB, free: 1.844 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)