Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 252 MB / 267 MB, free: 10.97 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.0009705/0.0009705, allocations: 174.6 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 0.5776 GB, free: 20.28 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.0007834/0.0007835, allocations: 98.19 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002852, allocations: 11.53 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1632, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007679/0.1641, allocations: 358 kB / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1659, allocations: 1.426 MB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.166, allocations: 0 / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.166, allocations: 0 / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.945e-05/0.166, allocations: 3.938 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.1666, allocations: 115.7 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.877e-05/0.1666, allocations: 23.91 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.851e-05/0.1667, allocations: 0 / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.366e-05/0.1667, allocations: 15.97 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.1668, allocations: 27.91 kB / 0.9022 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1669, allocations: 0 / 0.9022 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.1672, allocations: 311.4 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.1673, allocations: 11.98 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.1673, allocations: 25.7 kB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1675, allocations: 127.9 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1675, allocations: 0 / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1675, allocations: 0 / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.1675, allocations: 0 / 0.9027 GB, free: 61.38 MB / 0.6042 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.0003787/0.1679, allocations: 355.4 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1679, allocations: 8.031 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.168, allocations: 34.56 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004355/0.1684, allocations: 87.86 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.639e-05/0.1685, allocations: 167.2 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1685, allocations: 11.98 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1685, allocations: 0 / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.1688, allocations: 85.62 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.1688, allocations: 0 / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1688, allocations: 0 / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1688, allocations: 0 / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.1691, allocations: 79.92 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.1692, allocations: 181.5 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.1698, allocations: 142.5 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1699, allocations: 44.92 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004239/0.1704, allocations: 177 kB / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.1704, allocations: 34.56 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.1704, allocations: 3.938 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0009998/0.1714, allocations: 434.2 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/0.1714, allocations: 51.41 kB / 0.9045 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.569e-05/0.1715, allocations: 97.86 kB / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1715, allocations: 25.7 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.149e-05/0.1715, allocations: 84.12 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1715, allocations: 23.66 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.1715, allocations: 0 / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.1716, allocations: 318.9 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1717, allocations: 39.97 kB / 0.9051 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1719, allocations: 51.89 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.172, allocations: 43.97 kB / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.172, allocations: 0 / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003307/0.1724, allocations: 117.6 kB / 0.9053 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1724, allocations: 8 kB / 0.9053 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1724, allocations: 3.984 kB / 0.9053 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1724, allocations: 0 / 0.9053 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1726, allocations: 27.98 kB / 0.9053 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1726, allocations: 0 / 0.9053 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.1727, allocations: 15.98 kB / 0.9053 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1727, allocations: 4 kB / 0.9053 GB, free: 58.38 MB / 0.6042 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.192e-05/0.1728, allocations: 121.7 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.1728, allocations: 0 / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.1732, allocations: 141.2 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1733, allocations: 4.297 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1733, allocations: 4 kB / 0.9056 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1733, allocations: 4 kB / 0.9056 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.374e-05/0.1734, allocations: 169.6 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1734, allocations: 3.984 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.1735, allocations: 27.92 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1735, allocations: 336 / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1736, allocations: 0 / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1736, allocations: 0 / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1736, allocations: 11.94 kB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005142/0.1741, allocations: 216.9 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.1741, allocations: 85.08 kB / 0.9061 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1742, allocations: 4.031 kB / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.1743, allocations: 15.98 kB / 0.9061 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.1743, allocations: 11.92 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1743, allocations: 4 kB / 0.9061 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.573e-05/0.1744, allocations: 79.34 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1744, allocations: 0 / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002027/0.1746, allocations: 24 kB / 0.9062 GB, free: 57.37 MB / 0.6042 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.0007183/0.1753, allocations: 0.7764 MB / 0.907 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.1756, allocations: 95.98 kB / 0.9071 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1756, allocations: 0 / 0.9071 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1758, allocations: 55.91 kB / 0.9071 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.176, allocations: 1.875 kB / 0.9071 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1771, allocations: 0.557 MB / 0.9076 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.526e-05/0.1772, allocations: 0.6809 MB / 0.9083 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.1773, allocations: 16.06 kB / 0.9083 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.1774, allocations: 19.42 kB / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1774, allocations: 0 / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.188, allocations: 1.82 MB / 0.9101 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.1882, allocations: 219.8 kB / 0.9103 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.784, allocations: 2.031 kB / 0.9103 GB, free: 53.19 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)