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.699/1.699, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.001427/0.001427, allocations: 188.5 kB / 372 MB, free: 10.28 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.582/1.582, 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.0007101/0.0007103, allocations: 105.1 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004041, allocations: 13.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00069/0.2099, allocations: 331.8 kB / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.2117, allocations: 1.418 MB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.2118, allocations: 4 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.2118, allocations: 3.938 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.392e-05/0.2119, allocations: 7.938 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.2124, allocations: 107.7 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.899e-05/0.2124, allocations: 27.95 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.2125, allocations: 0 / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.2125, allocations: 19.98 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.2126, allocations: 27.91 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.2127, allocations: 0 / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.2131, allocations: 307.4 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.2131, allocations: 3.984 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.2131, allocations: 29.7 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.2133, allocations: 127.9 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2133, allocations: 4 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2133, allocations: 0 / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2134, allocations: 0 / 0.982 GB, free: 25.12 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.0004613/0.2138, allocations: 367.5 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2139, allocations: 8.031 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.2139, allocations: 34.5 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004645/0.2144, allocations: 87.81 kB / 0.9825 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.2145, allocations: 163 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.2145, allocations: 4 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.2146, allocations: 4 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.2148, allocations: 77.62 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2148, allocations: 0 / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.2149, allocations: 4 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.2149, allocations: 4 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.2152, allocations: 75.92 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.2153, allocations: 165.6 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.2159, allocations: 146.5 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.2161, allocations: 48.92 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004432/0.2165, allocations: 181 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2166, allocations: 34.56 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.2166, allocations: 0 / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001097/0.2177, allocations: 438.2 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.2177, allocations: 51.41 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.254e-05/0.2178, allocations: 93.86 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2178, allocations: 25.7 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.564e-05/0.2178, allocations: 84.27 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.2178, allocations: 23.73 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.2178, allocations: 3.938 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.2179, allocations: 318.8 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.218, allocations: 43.97 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.2182, allocations: 43.95 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2183, allocations: 43.91 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2184, allocations: 0 / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003406/0.2187, allocations: 121.5 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2187, allocations: 8 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2187, allocations: 256 / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2188, allocations: 0 / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.2189, allocations: 43.91 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2189, allocations: 0 / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.842e-05/0.219, allocations: 11.98 kB / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.219, allocations: 7.938 kB / 0.9846 GB, free: 22.12 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.853e-05/0.2191, allocations: 113.8 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.2191, allocations: 7.984 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.2195, allocations: 145.2 kB / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2196, allocations: 0 / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2196, allocations: 0 / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2196, allocations: 3.984 kB / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.736e-05/0.2197, allocations: 165.6 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2197, allocations: 0 / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.2198, allocations: 35.91 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2198, allocations: 0 / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2199, allocations: 4 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2199, allocations: 0 / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2199, allocations: 0 / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.2204, allocations: 205 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.2204, allocations: 89.03 kB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.2205, allocations: 4 kB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.2206, allocations: 15.98 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.2206, allocations: 8.062 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.2206, allocations: 3.984 kB / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.893e-05/0.2207, allocations: 79.28 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2207, allocations: 0 / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002104/0.2209, allocations: 32 kB / 0.9855 GB, free: 21.13 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.000766/0.2217, allocations: 0.7688 MB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.222, allocations: 104 kB / 0.9864 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.222, allocations: 0 / 0.9864 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.2222, allocations: 51.91 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.2223, allocations: 8.688 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2236, allocations: 0.5766 MB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2237, allocations: 0.6809 MB / 0.9877 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.2238, allocations: 12.14 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.2239, allocations: 11.44 kB / 0.9877 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.2239, allocations: 8 kB / 0.9877 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.2356, allocations: 1.835 MB / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.2358, allocations: 214.7 kB / 0.9897 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.841, allocations: 0 / 0.9897 GB, free: 16.93 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)