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.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.229/4.229, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.477e-05, allocations: 6.109 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2313, allocations: 98.74 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2881/0.5195, allocations: 126 MB / 0.7578 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/0.5199, allocations: 79.95 kB / 0.7579 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03924/0.5592, allocations: 5.425 MB / 0.7632 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.926e-06/0.5593, allocations: 3.938 kB / 0.7632 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.5593, allocations: 0 / 0.7632 GB, free: 14.2 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001079/0.5604, allocations: 398.2 kB / 0.7635 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.703e-05/0.5605, allocations: 12.03 kB / 0.7636 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.937e-05/0.5606, allocations: 42.55 kB / 0.7636 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009782/0.5616, allocations: 67.84 kB / 0.7637 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.5618, allocations: 163 kB / 0.7638 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.5619, allocations: 4 kB / 0.7638 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.562, allocations: 11.98 kB / 0.7638 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.5624, allocations: 77.59 kB / 0.7639 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.5624, allocations: 0 / 0.7639 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.5625, allocations: 4 kB / 0.7639 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.5625, allocations: 4 kB / 0.7639 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.5627, allocations: 32 kB / 0.7639 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.5641, allocations: 352.6 kB / 0.7643 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.5645, allocations: 78.53 kB / 0.7644 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.5646, allocations: 28.86 kB / 0.7644 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.5647, allocations: 0 / 0.7644 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.5647, allocations: 38.52 kB / 0.7644 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 3.216e-06/0.5648, allocations: 0 / 0.7644 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.04075/0.6055, allocations: 2.116 MB / 0.7665 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.6057, allocations: 55.41 kB / 0.7665 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.6058, allocations: 97.08 kB / 0.7666 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.606, allocations: 33.64 kB / 0.7667 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.6061, allocations: 84.08 kB / 0.7667 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.6063, allocations: 39.45 kB / 0.7668 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/0.6064, allocations: 4 kB / 0.7668 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6066, allocations: 310.8 kB / 0.7671 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007053/0.6073, allocations: 123.9 kB / 0.7672 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.608, allocations: 111.9 kB / 0.7673 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007913/0.6089, allocations: 111.9 kB / 0.7674 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6089, allocations: 0 / 0.7674 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001968/0.6109, allocations: 329.2 kB / 0.7677 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.6109, allocations: 4 kB / 0.7677 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.611, allocations: 0 / 0.7677 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.611, allocations: 0 / 0.7677 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.6136, allocations: 119.7 kB / 0.7678 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.6136, allocations: 4.156 kB / 0.7678 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.6155, allocations: 59.94 kB / 0.7679 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.6157, allocations: 27.92 kB / 0.7679 GB, free: 9.004 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 (13): * Single equations (assignments): 13 * 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 0.0002874/0.6161, allocations: 109 kB / 0.768 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.6163, allocations: 11.86 kB / 0.768 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.6163, allocations: 8.094 kB / 0.7681 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.6164, allocations: 0 / 0.7681 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.6164, allocations: 0 / 0.7681 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6164, allocations: 3.938 kB / 0.7681 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/0.6198, allocations: 0.9013 MB / 0.7689 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.6199, allocations: 4 kB / 0.7689 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/0.6224, allocations: 115.8 kB / 0.7691 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.091e-05/0.6225, allocations: 3.984 kB / 0.7691 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/0.6226, allocations: 27.94 kB / 0.7691 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.6227, allocations: 3.984 kB / 0.7691 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6227, allocations: 0 / 0.7691 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.6257, allocations: 0.5696 MB / 0.7696 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.6261, allocations: 117 kB / 0.7698 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.6263, allocations: 0 / 0.7698 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/0.6284, allocations: 64 kB / 0.7698 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.6286, allocations: 27.92 kB / 0.7698 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.6288, allocations: 23.94 kB / 0.7699 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.88e-05/0.6289, allocations: 83.45 kB / 0.7699 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.12e-07/0.6289, allocations: 0 / 0.7699 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009265/0.6299, allocations: 59.94 kB / 0.77 GB, free: 6.727 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.003645/0.6335, allocations: 1.13 MB / 0.7711 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.6353, allocations: 267.8 kB / 0.7714 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6353, allocations: 0 / 0.7714 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008691/0.6362, allocations: 151.7 kB / 0.7715 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.6366, allocations: 13.81 kB / 0.7715 GB, free: 5.148 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.6482, allocations: 0.7366 MB / 0.7722 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.6487, allocations: 0.6926 MB / 0.7729 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001825/0.6505, allocations: 88.66 kB / 0.773 GB, free: 3.566 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007003/0.6513, allocations: 71.3 kB / 0.7731 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of SimCode: time 1.633e-06/0.6513, allocations: 0 / 0.7731 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6456/1.297, allocations: 4.141 MB / 0.7771 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/1.297, allocations: 172.8 kB / 0.7773 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/4.136, allocations: 1.125 kB / 0.7773 GB, free: 140.9 MB / 0.6511 GB