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.602/1.602, allocations: 288.2 MB / 303.2 MB, free: 8.098 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.001028/0.001028, allocations: 181 kB / 371.8 MB, free: 10.27 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.47/1.47, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001151/0.001151, allocations: 98.8 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 16.98 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1952, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0005862/0.1958, allocations: 334 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1972, allocations: 1.427 MB / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.1972, allocations: 7.938 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.1972, allocations: 3.938 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.23e-05/0.1973, allocations: 0 / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1977, allocations: 99.72 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.889e-05/0.1977, allocations: 19.97 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.1978, allocations: 15.98 kB / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.197e-05/0.1978, allocations: 11.98 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.1979, allocations: 23.91 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1979, allocations: 7.938 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.1982, allocations: 307.5 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1982, allocations: 11.91 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.1983, allocations: 29.7 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1985, allocations: 135.8 kB / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.1985, allocations: 0 / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1985, allocations: 0 / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.1985, allocations: 0 / 0.9818 GB, free: 25.14 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.1989, allocations: 367.5 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1989, allocations: 8.031 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.709e-05/0.199, allocations: 34.56 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.1994, allocations: 83.81 kB / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.939e-05/0.1995, allocations: 163 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1995, allocations: 4 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1995, allocations: 4 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.1998, allocations: 77.62 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1998, allocations: 3.938 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1998, allocations: 8 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.1998, allocations: 4 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.2001, allocations: 67.94 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.2002, allocations: 169.6 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.2008, allocations: 142.6 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/0.2012, allocations: 173.1 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.2012, allocations: 34.56 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2012, allocations: 3.938 kB / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001019/0.2023, allocations: 438.1 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.2023, allocations: 59.39 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.543e-05/0.2023, allocations: 93.86 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2023, allocations: 25.7 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.46e-05/0.2024, allocations: 88.14 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.2024, allocations: 15.73 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.2024, allocations: 0 / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.442e-05/0.2025, allocations: 326.8 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2026, allocations: 40.09 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2027, allocations: 43.97 kB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2029, allocations: 39.97 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.2029, allocations: 0 / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003107/0.2032, allocations: 129.5 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2032, allocations: 4 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2032, allocations: 3.938 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.2033, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2034, allocations: 32.22 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2034, allocations: 3.938 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.2035, allocations: 23.98 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2035, allocations: 4 kB / 0.9844 GB, free: 22.19 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.322e-05/0.2036, allocations: 110.8 kB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.2036, allocations: 3.938 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.204, allocations: 157.1 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.204, allocations: 4 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.204, allocations: 0 / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.204, allocations: 0 / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.591e-05/0.2041, allocations: 165.6 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2041, allocations: 4 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.2043, allocations: 27.97 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2043, allocations: 0 / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2043, allocations: 8 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2043, allocations: 0 / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2043, allocations: 0 / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.2048, allocations: 201 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.2049, allocations: 89.03 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2049, allocations: 4 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.205, allocations: 24.03 kB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.205, allocations: 3.938 kB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2051, allocations: 4 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.788e-05/0.2051, allocations: 75.28 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2051, allocations: 0 / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002165/0.2053, allocations: 39.98 kB / 0.9853 GB, free: 21.19 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.0007377/0.2061, allocations: 0.7609 MB / 0.9861 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.2064, allocations: 104.1 kB / 0.9862 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2064, allocations: 0 / 0.9862 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.2066, allocations: 51.95 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.2067, allocations: 4.75 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.2078, allocations: 0.5611 MB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.7e-05/0.2079, allocations: 0.6848 MB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.208, allocations: 20.06 kB / 0.9875 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.2081, allocations: 19.38 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2081, allocations: 0 / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.2183, allocations: 1.804 MB / 0.9892 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000126/0.2184, allocations: 216.7 kB / 0.9894 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/1.706, allocations: 3.234 kB / 0.9894 GB, free: 17.02 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)