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.001015/0.001015, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001024/0.001024, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.22/1.22, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.565/1.565, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001332/0.001332, allocations: 70.98 kB / 0.6711 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1747, allocations: 114.5 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0019/0.1766, allocations: 0.6764 MB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1784, allocations: 1.487 MB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.1784, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.1785, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.289e-05/0.1785, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.179, allocations: 115.7 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.207e-05/0.179, allocations: 31.95 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.1791, allocations: 8 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.1791, allocations: 15.98 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.1792, allocations: 27.91 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1792, allocations: 0 / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.1796, allocations: 315.3 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.1796, allocations: 7.984 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.1796, allocations: 15.92 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.1799, allocations: 187.6 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1799, allocations: 7.938 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1799, allocations: 0 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.1799, allocations: 0 / 0.7858 GB, free: 10.87 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.0004593/0.1804, allocations: 367.7 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.1804, allocations: 8.031 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.1805, allocations: 38.73 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.1809, allocations: 64.86 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.181, allocations: 168.4 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.181, allocations: 384 / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.181, allocations: 384 / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.1813, allocations: 77.77 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.1813, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1813, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1813, allocations: 4 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.1816, allocations: 71.84 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.1818, allocations: 165.7 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.1823, allocations: 114.5 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.1825, allocations: 48.91 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004228/0.1829, allocations: 153 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1829, allocations: 38.5 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1829, allocations: 0 / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001039/0.184, allocations: 414.1 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.184, allocations: 55.34 kB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.153e-05/0.1841, allocations: 97.84 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1841, allocations: 25.7 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.1842, allocations: 88.08 kB / 0.7877 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1842, allocations: 15.75 kB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.1842, allocations: 29.55 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.1843, allocations: 315 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1845, allocations: 35.97 kB / 0.7881 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1847, allocations: 39.95 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.1849, allocations: 76.8 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1849, allocations: 4 kB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003282/0.1853, allocations: 105.6 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1853, allocations: 11.94 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1853, allocations: 0 / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.1853, allocations: 0 / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1855, allocations: 23.97 kB / 0.7883 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1855, allocations: 0 / 0.7883 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.1856, allocations: 15.98 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1856, allocations: 4 kB / 0.7884 GB, free: 7.949 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.299e-05/0.1857, allocations: 109.8 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.1857, allocations: 7.938 kB / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/0.1861, allocations: 137.1 kB / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1861, allocations: 0 / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1861, allocations: 4 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1861, allocations: 3.984 kB / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1863, allocations: 162 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1863, allocations: 3.938 kB / 0.7888 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.1864, allocations: 27.97 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1864, allocations: 0 / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1865, allocations: 4 kB / 0.7888 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/0.1865, allocations: 4 kB / 0.7888 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1865, allocations: 0 / 0.7888 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005207/0.187, allocations: 188.9 kB / 0.789 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.1871, allocations: 89.06 kB / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1871, allocations: 0 / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1872, allocations: 19.92 kB / 0.7891 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.1872, allocations: 8.062 kB / 0.7891 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1873, allocations: 7.984 kB / 0.7891 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.1873, allocations: 79.22 kB / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1873, allocations: 0 / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002093/0.1875, allocations: 28 kB / 0.7892 GB, free: 6.977 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.000832/0.1884, allocations: 0.753 MB / 0.7899 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000339/0.1887, allocations: 87.92 kB / 0.79 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1887, allocations: 0 / 0.79 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1889, allocations: 39.97 kB / 0.7901 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.189, allocations: 8 kB / 0.7901 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.1909, allocations: 1.363 MB / 0.7914 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1911, allocations: 0.6771 MB / 0.7921 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.1912, allocations: 20 kB / 0.7921 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.1913, allocations: 11.44 kB / 0.7921 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.1913, allocations: 0 / 0.7921 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1702/0.3615, allocations: 1.955 MB / 0.794 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.3617, allocations: 225.7 kB / 0.7942 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.199, allocations: 0 / 0.7942 GB, free: 1.828 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)