Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.737/1.737, allocations: 288.4 MB / 303.6 MB, free: 7.945 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.001118/0.001118, allocations: 178.8 kB / 372.3 MB, free: 10.09 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.626/1.626, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0008205/0.0008204, allocations: 102.3 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 14.06 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1862, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006348/0.1869, allocations: 339.7 kB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1885, allocations: 1.426 MB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.1886, allocations: 0 / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.608e-06/0.1886, allocations: 0 / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.835e-05/0.1886, allocations: 4 kB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.1891, allocations: 103.7 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.46e-05/0.1891, allocations: 27.91 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.1892, allocations: 4 kB / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.1892, allocations: 15.98 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.1893, allocations: 27.95 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1893, allocations: 0 / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.1897, allocations: 307.3 kB / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.1897, allocations: 15.97 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.1897, allocations: 29.69 kB / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.19, allocations: 131.9 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.19, allocations: 0 / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.775e-06/0.19, allocations: 0 / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.19, allocations: 3.938 kB / 0.9826 GB, free: 24.79 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004054/0.1904, allocations: 363.8 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1904, allocations: 12.03 kB / 0.9829 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.1905, allocations: 30.75 kB / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004174/0.1909, allocations: 80.75 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.697e-05/0.191, allocations: 168.4 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.191, allocations: 4.375 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.1911, allocations: 384 / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.1913, allocations: 89.73 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1913, allocations: 0 / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1913, allocations: 4 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1913, allocations: 0 / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.1916, allocations: 83.86 kB / 0.9834 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.1918, allocations: 165.7 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.1923, allocations: 138.5 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.1925, allocations: 60.91 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/0.1929, allocations: 173 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.1929, allocations: 38.5 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1929, allocations: 0 / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001009/0.1939, allocations: 434.2 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.194, allocations: 55.41 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.936e-05/0.194, allocations: 97.78 kB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.194, allocations: 25.7 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.326e-05/0.1941, allocations: 84.27 kB / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1941, allocations: 19.75 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.1941, allocations: 0 / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.1941, allocations: 314.8 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1943, allocations: 43.95 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1944, allocations: 39.97 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.1947, allocations: 92.8 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1947, allocations: 4 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003122/0.195, allocations: 129.7 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1951, allocations: 11.92 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1951, allocations: 4.062 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1951, allocations: 3.938 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1952, allocations: 23.98 kB / 0.9852 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1952, allocations: 7.984 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.1953, allocations: 15.98 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1953, allocations: 0 / 0.9853 GB, free: 21.73 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 (6): * Single equations (assignments): 6 * 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 5.613e-05/0.1954, allocations: 119.4 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.1954, allocations: 3.938 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.1958, allocations: 145.2 kB / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1958, allocations: 3.938 kB / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1958, allocations: 8 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1958, allocations: 0 / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.22e-05/0.1959, allocations: 161.7 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1959, allocations: 3.938 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.1961, allocations: 27.98 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1961, allocations: 0 / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1961, allocations: 0 / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1961, allocations: 4 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1961, allocations: 4 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.1966, allocations: 201 kB / 0.9859 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.1967, allocations: 96.88 kB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1967, allocations: 4.031 kB / 0.986 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1968, allocations: 12.31 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.1968, allocations: 11.92 kB / 0.986 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1968, allocations: 4 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.636e-05/0.1969, allocations: 79.34 kB / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.1969, allocations: 0 / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001983/0.1971, allocations: 32 kB / 0.9861 GB, free: 20.73 MB / 0.6198 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 (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.0007279/0.1978, allocations: 0.7727 MB / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.1981, allocations: 95.92 kB / 0.987 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1982, allocations: 4 kB / 0.987 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.1983, allocations: 51.91 kB / 0.987 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.1985, allocations: 10.19 kB / 0.987 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1996, allocations: 0.5727 MB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.1997, allocations: 0.6809 MB / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.1998, allocations: 16.06 kB / 0.9883 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.1999, allocations: 15.42 kB / 0.9883 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.1999, allocations: 0 / 0.9883 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2377/0.4376, allocations: 1.816 MB / 0.9901 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/0.4379, allocations: 213.2 kB / 0.9903 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.464, allocations: 0 / 0.9903 GB, free: 16.54 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)