Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.4 MB / 303.3 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009735/0.0009735, allocations: 176.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008216/0.0008217, allocations: 98.84 kB / 0.744 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003786, allocations: 16.84 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1981, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001189/0.1993, allocations: 0.4895 MB / 0.9801 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.2013, allocations: 1.457 MB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.2014, allocations: 4 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.2014, allocations: 3.984 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.2015, allocations: 3.938 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.202, allocations: 107.7 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.636e-05/0.2021, allocations: 43.91 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.2021, allocations: 0 / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.603e-05/0.2022, allocations: 31.84 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.2023, allocations: 39.83 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.2023, allocations: 4 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.2028, allocations: 299.4 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.2028, allocations: 15.97 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.2029, allocations: 37.64 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.2031, allocations: 144 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.2031, allocations: 4 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2031, allocations: 4 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.2032, allocations: 0 / 0.9823 GB, free: 24.84 MB / 0.6198 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.0006859/0.2039, allocations: 391.2 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.2039, allocations: 12.03 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.641e-05/0.204, allocations: 34.56 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.2045, allocations: 87.81 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.68e-05/0.2046, allocations: 171 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.2046, allocations: 4 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.2047, allocations: 8 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.205, allocations: 119.4 kB / 0.9831 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2051, allocations: 0 / 0.9831 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.2051, allocations: 8 kB / 0.9831 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2051, allocations: 0 / 0.9831 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/0.2056, allocations: 119.9 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.2061, allocations: 348.6 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.2068, allocations: 186.4 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.207, allocations: 64.81 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.2071, allocations: 8.141 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.2071, allocations: 34.52 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2071, allocations: 0 / 0.9838 GB, free: 23.1 MB / 0.6198 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.01962/0.2267, allocations: 3.185 MB / 0.9869 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.2268, allocations: 55.44 kB / 0.987 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.2268, allocations: 105.8 kB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.2269, allocations: 29.7 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.2269, allocations: 88.14 kB / 0.9872 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.227, allocations: 39.36 kB / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.2271, allocations: 0 / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.2271, allocations: 322.8 kB / 0.9875 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.2277, allocations: 211.8 kB / 0.9877 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.2283, allocations: 219.8 kB / 0.9879 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006072/0.229, allocations: 225.1 kB / 0.9881 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.229, allocations: 4 kB / 0.9881 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001382/0.2304, allocations: 0.511 MB / 0.9886 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2304, allocations: 11.98 kB / 0.9887 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2304, allocations: 0 / 0.9887 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2304, allocations: 0 / 0.9887 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.2312, allocations: 119.7 kB / 0.9888 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.2312, allocations: 0 / 0.9888 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.2319, allocations: 59.94 kB / 0.9888 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.2319, allocations: 23.92 kB / 0.9889 GB, free: 17.78 MB / 0.6198 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.0001549/0.2321, allocations: 121.8 kB / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.2321, allocations: 11.86 kB / 0.989 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.2322, allocations: 7.969 kB / 0.989 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2322, allocations: 0 / 0.989 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.2322, allocations: 4 kB / 0.989 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2322, allocations: 7.984 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.2341, allocations: 1.098 MB / 0.9901 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2341, allocations: 0 / 0.9901 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.2349, allocations: 119.8 kB / 0.9902 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.2349, allocations: 0 / 0.9902 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.235, allocations: 27.92 kB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.235, allocations: 4 kB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.235, allocations: 0 / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.2371, allocations: 0.8777 MB / 0.9911 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.2372, allocations: 117 kB / 0.9912 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.2373, allocations: 0 / 0.9912 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.238, allocations: 56 kB / 0.9912 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.238, allocations: 31.92 kB / 0.9913 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.2381, allocations: 23.94 kB / 0.9913 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.273e-05/0.2381, allocations: 79.45 kB / 0.9914 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2381, allocations: 0 / 0.9914 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003399/0.2385, allocations: 56 kB / 0.9914 GB, free: 15 MB / 0.6198 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.002369/0.2408, allocations: 1.43 MB / 0.9928 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.2422, allocations: 467.6 kB / 0.9933 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2422, allocations: 7.938 kB / 0.9933 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/0.2428, allocations: 247.7 kB / 0.9935 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2432, allocations: 8 kB / 0.9935 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/0.2493, allocations: 1.862 MB / 0.9953 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.2495, allocations: 0.6926 MB / 0.996 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006599/0.2502, allocations: 88.67 kB / 0.9961 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.2505, allocations: 67.28 kB / 0.9962 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2505, allocations: 0 / 0.9962 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.2651, allocations: 4.162 MB / 1 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001262/0.2653, allocations: 220.3 kB / 1 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.887, allocations: 0 / 1 GB, free: 5.816 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)