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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.57/4.57, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.732e-05, allocations: 4 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.666/0.6661, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2413/0.9074, allocations: 125.3 MB / 0.7513 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004856/0.908, allocations: 75.95 kB / 0.7514 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.04696/0.955, allocations: 5.411 MB / 0.7567 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/0.955, allocations: 0 / 0.7567 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.9551, allocations: 8 kB / 0.7567 GB, free: 12.7 MB / 0.6355 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.0009885/0.9561, allocations: 390.3 kB / 0.7571 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.66e-05/0.9561, allocations: 8.031 kB / 0.7571 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009385/0.9571, allocations: 71.83 kB / 0.7571 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.9573, allocations: 171 kB / 0.7573 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.9574, allocations: 4 kB / 0.7573 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.9575, allocations: 4 kB / 0.7573 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002435/0.9577, allocations: 39.98 kB / 0.7573 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.958, allocations: 73.59 kB / 0.7574 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.9581, allocations: 0 / 0.7574 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.9581, allocations: 0 / 0.7574 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.9581, allocations: 0 / 0.7574 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.9592, allocations: 313.2 kB / 0.7577 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.9596, allocations: 70.5 kB / 0.7578 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.809e-05/0.9597, allocations: 28.86 kB / 0.7578 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.9597, allocations: 3.984 kB / 0.7578 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.9598, allocations: 30.56 kB / 0.7578 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.306e-06/0.9598, allocations: 4 kB / 0.7578 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.03013/0.9899, allocations: 2.108 MB / 0.7599 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.99, allocations: 55.41 kB / 0.76 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.9901, allocations: 96.98 kB / 0.76 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.681e-05/0.9902, allocations: 25.7 kB / 0.7601 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.9903, allocations: 88.08 kB / 0.7602 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.9904, allocations: 35.45 kB / 0.7602 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.9905, allocations: 0 / 0.7602 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.9906, allocations: 318.8 kB / 0.7605 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.991, allocations: 112 kB / 0.7606 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.9914, allocations: 119.8 kB / 0.7607 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.992, allocations: 136 kB / 0.7608 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.992, allocations: 0 / 0.7608 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001384/0.9934, allocations: 337.5 kB / 0.7612 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.9935, allocations: 11.94 kB / 0.7612 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.9935, allocations: 0 / 0.7612 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.9935, allocations: 0 / 0.7612 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.9951, allocations: 119.8 kB / 0.7613 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.9952, allocations: 4 kB / 0.7613 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.9964, allocations: 55.94 kB / 0.7613 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.901e-05/0.9965, allocations: 24.48 kB / 0.7614 GB, free: 7.609 MB / 0.6355 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.0002041/0.9967, allocations: 105.6 kB / 0.7615 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001359/0.9981, allocations: 329.2 kB / 0.7618 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.9982, allocations: 7.953 kB / 0.7618 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.9983, allocations: 8.406 kB / 0.7618 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.9983, allocations: 0 / 0.7618 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.9983, allocations: 8 kB / 0.7618 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.9983, allocations: 0 / 0.7618 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/1.001, allocations: 0.8809 MB / 0.7627 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.001, allocations: 0 / 0.7627 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.002, allocations: 123.7 kB / 0.7628 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.002, allocations: 0 / 0.7628 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.642e-05/1.002, allocations: 19.94 kB / 0.7628 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.002, allocations: 4 kB / 0.7628 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.002, allocations: 0 / 0.7628 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/1.004, allocations: 0.5733 MB / 0.7634 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/1.005, allocations: 120.9 kB / 0.7635 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/1.005, allocations: 0 / 0.7635 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.006, allocations: 56 kB / 0.7635 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.006, allocations: 31.92 kB / 0.7636 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.189e-05/1.006, allocations: 19.94 kB / 0.7636 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.452e-05/1.006, allocations: 83.28 kB / 0.7637 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.206e-06/1.006, allocations: 0 / 0.7637 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005775/1.007, allocations: 59.92 kB / 0.7637 GB, free: 5.047 MB / 0.6355 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.002394/1.009, allocations: 1.132 MB / 0.7648 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009202/1.01, allocations: 267.8 kB / 0.7651 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/1.01, allocations: 0 / 0.7651 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004745/1.011, allocations: 143.9 kB / 0.7652 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/1.011, allocations: 7.938 kB / 0.7652 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007644/1.019, allocations: 0.7396 MB / 0.766 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/1.019, allocations: 0.7002 MB / 0.7666 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001208/1.02, allocations: 88.66 kB / 0.7667 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/1.021, allocations: 71.3 kB / 0.7668 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.682e-05/1.021, allocations: 4 kB / 0.7668 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/1.062, allocations: 3.763 MB / 0.7705 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/1.063, allocations: 163.5 kB / 0.7706 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.785, allocations: 2.031 kB / 0.7706 GB, free: 13.87 MB / 0.6511 GB