Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 199.8 kB / 16.14 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 77.28 kB / 0.6709 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1965, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001425/0.198, allocations: 0.6665 MB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1994, allocations: 1.507 MB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-06/0.1994, allocations: 0 / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.252e-06/0.1994, allocations: 0 / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.364e-05/0.1994, allocations: 0 / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1997, allocations: 119.6 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.211e-05/0.1997, allocations: 23.98 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 1.758e-05/0.1998, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.1998, allocations: 19.92 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.1998, allocations: 31.88 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1999, allocations: 4 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.2002, allocations: 311.4 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.2002, allocations: 15.97 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.2003, allocations: 11.92 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.2005, allocations: 183.6 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2005, allocations: 4 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.21e-07/0.2005, allocations: 0 / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.803e-06/0.2005, allocations: 0 / 0.7856 GB, free: 10.97 MB / 0.6075 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.0003367/0.2008, allocations: 371.7 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.357e-05/0.2009, allocations: 8.031 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.458e-05/0.2009, allocations: 38.75 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003877/0.2013, allocations: 64.84 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.931e-05/0.2014, allocations: 160.4 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.2014, allocations: 4.375 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2014, allocations: 4.312 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.2016, allocations: 89.69 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-06/0.2016, allocations: 0 / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.2016, allocations: 0 / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.2016, allocations: 4 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.2019, allocations: 59.94 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.202, allocations: 161.7 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.2025, allocations: 118.6 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.2027, allocations: 52.86 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.2031, allocations: 153 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.2031, allocations: 38.5 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2031, allocations: 0 / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0009499/0.2041, allocations: 406.2 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.2041, allocations: 51.41 kB / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.483e-05/0.2041, allocations: 97.86 kB / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2042, allocations: 25.7 kB / 0.7874 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.2042, allocations: 84.08 kB / 0.7875 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.2042, allocations: 19.73 kB / 0.7875 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.2043, allocations: 21.62 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.2043, allocations: 319 kB / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.2045, allocations: 39.95 kB / 0.7879 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.2046, allocations: 35.97 kB / 0.7879 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.2049, allocations: 76.8 kB / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2049, allocations: 0 / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003218/0.2052, allocations: 125.7 kB / 0.7881 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.2052, allocations: 4 kB / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.2052, allocations: 0 / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/0.2053, allocations: 4 kB / 0.7881 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2054, allocations: 19.98 kB / 0.7882 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.2054, allocations: 0 / 0.7882 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.2055, allocations: 11.98 kB / 0.7882 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2055, allocations: 7.984 kB / 0.7882 GB, free: 8.055 MB / 0.6075 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 (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 prepare postOptimizeDAE: time 6.213e-05/0.2056, allocations: 114.5 kB / 0.7883 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.2056, allocations: 7.938 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.206, allocations: 133.4 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.206, allocations: 0 / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.206, allocations: 0 / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.206, allocations: 7.984 kB / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.2061, allocations: 177.6 kB / 0.7886 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2061, allocations: 3.938 kB / 0.7886 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2063, allocations: 19.98 kB / 0.7886 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2063, allocations: 0 / 0.7886 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2063, allocations: 0 / 0.7886 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2063, allocations: 7.984 kB / 0.7886 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2063, allocations: 0 / 0.7886 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.2068, allocations: 184.9 kB / 0.7888 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.2069, allocations: 93.06 kB / 0.7889 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2069, allocations: 0 / 0.7889 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.207, allocations: 11.98 kB / 0.7889 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.207, allocations: 7.984 kB / 0.7889 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.207, allocations: 8.188 kB / 0.7889 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.626e-05/0.2071, allocations: 83.28 kB / 0.789 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2071, allocations: 0 / 0.789 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002/0.2073, allocations: 31.98 kB / 0.789 GB, free: 7.074 MB / 0.6075 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.0007475/0.208, allocations: 0.7491 MB / 0.7898 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000301/0.2083, allocations: 79.92 kB / 0.7898 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2084, allocations: 4.062 kB / 0.7898 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.2085, allocations: 43.91 kB / 0.7899 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.2086, allocations: 14.8 kB / 0.7899 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.2103, allocations: 1.361 MB / 0.7912 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.2104, allocations: 0.677 MB / 0.7919 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.2105, allocations: 16 kB / 0.7919 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.2106, allocations: 19.42 kB / 0.7919 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2106, allocations: 3.938 kB / 0.7919 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.396/1.607, allocations: 1.896 MB / 0.7938 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/1.607, allocations: 219.3 kB / 0.794 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/3.182, allocations: 0 / 0.794 GB, free: 1.965 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)