Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.581/4.581, allocations: 432.6 MB / 445.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.84e-05/5.873e-05, allocations: 8.844 kB / 0.5383 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2534, allocations: 98.74 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2569/0.5104, allocations: 125.2 MB / 0.757 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.5108, allocations: 75.95 kB / 0.7571 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02112/0.5319, allocations: 4.028 MB / 0.761 GB, free: 364 kB / 0.6355 GB Notification: Performance of FrontEnd: time 5.199e-06/0.532, allocations: 0 / 0.761 GB, free: 364 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.532, allocations: 11.94 kB / 0.7611 GB, free: 352 kB / 0.6355 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.0006192/0.5326, allocations: 362.4 kB / 0.7614 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.5327, allocations: 12.03 kB / 0.7614 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.5328, allocations: 34.5 kB / 0.7614 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007884/0.5336, allocations: 63.92 kB / 0.7615 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.5339, allocations: 175 kB / 0.7617 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.534, allocations: 4 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.002e-05/0.5341, allocations: 0 / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.5347, allocations: 57.66 kB / 0.7617 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.5347, allocations: 0 / 0.7617 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.5348, allocations: 0 / 0.7617 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.5349, allocations: 0 / 0.7617 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.5351, allocations: 20 kB / 0.7618 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.5356, allocations: 169.6 kB / 0.7619 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.536, allocations: 54.61 kB / 0.762 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.5361, allocations: 28.84 kB / 0.762 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.5362, allocations: 4 kB / 0.762 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.5362, allocations: 30.56 kB / 0.762 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.5362, allocations: 0 / 0.762 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0007765/0.537, allocations: 286.4 kB / 0.7623 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.5371, allocations: 51.41 kB / 0.7623 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.294e-05/0.5372, allocations: 92.98 kB / 0.7624 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.5372, allocations: 29.7 kB / 0.7625 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.5373, allocations: 80.14 kB / 0.7625 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.5373, allocations: 19.66 kB / 0.7626 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.5373, allocations: 0 / 0.7626 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5375, allocations: 322.8 kB / 0.7629 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.5376, allocations: 11.98 kB / 0.7629 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.5376, allocations: 12 kB / 0.7629 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.972e-05/0.5377, allocations: 16.12 kB / 0.7629 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5377, allocations: 0 / 0.7629 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002291/0.538, allocations: 73.56 kB / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.538, allocations: 4 kB / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.538, allocations: 0 / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.538, allocations: 0 / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.5384, allocations: 31.97 kB / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.5384, allocations: 0 / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.5386, allocations: 20.23 kB / 0.763 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.5386, allocations: 4 kB / 0.763 GB, free: 14.05 MB / 0.6511 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 () * 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 9.651e-05/0.5387, allocations: 108.9 kB / 0.7631 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.5387, allocations: 0 / 0.7631 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.5391, allocations: 101.1 kB / 0.7632 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5391, allocations: 0 / 0.7632 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5391, allocations: 0 / 0.7632 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5391, allocations: 0 / 0.7632 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.5394, allocations: 173.6 kB / 0.7634 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5394, allocations: 4 kB / 0.7634 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.5397, allocations: 23.98 kB / 0.7634 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.5397, allocations: 0 / 0.7634 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.5397, allocations: 0 / 0.7634 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5398, allocations: 0 / 0.7634 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5398, allocations: 0 / 0.7634 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.5402, allocations: 132.9 kB / 0.7636 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.5403, allocations: 81.09 kB / 0.7636 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.5403, allocations: 4 kB / 0.7636 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.5405, allocations: 15.98 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.5406, allocations: 7.984 kB / 0.7637 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.5406, allocations: 0 / 0.7637 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.5407, allocations: 83.34 kB / 0.7637 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/0.5407, allocations: 0 / 0.7637 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003527/0.541, allocations: 47.92 kB / 0.7638 GB, free: 13.18 MB / 0.6511 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 () * 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.0008467/0.5419, allocations: 0.6904 MB / 0.7645 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.5421, allocations: 48.34 kB / 0.7645 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5421, allocations: 0 / 0.7645 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.5422, allocations: 23.94 kB / 0.7645 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.5424, allocations: 3.938 kB / 0.7645 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009754/0.5434, allocations: 192.4 kB / 0.7647 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.5437, allocations: 0.6809 MB / 0.7654 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001952/0.5439, allocations: 19.94 kB / 0.7654 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.012e-05/0.544, allocations: 15.42 kB / 0.7654 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/0.544, allocations: 0 / 0.7654 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.5702, allocations: 1.797 MB / 0.7672 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.5706, allocations: 180.3 kB / 0.7673 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.127, allocations: 0 / 0.7673 GB, free: 9.473 MB / 0.6511 GB