Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01089/0.01089, allocations: 106.7 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001213/0.001213, allocations: 183.1 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.894/1.894, allocations: 194.5 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.179/2.179, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006593/0.0006595, allocations: 15.98 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6931/0.6938, allocations: 98.7 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001873/0.6957, allocations: 1.136 MB / 0.6845 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.6973, allocations: 0.7667 MB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.6973, allocations: 0 / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.6974, allocations: 0.9844 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.6974, allocations: 9.359 kB / 0.6853 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.6979, allocations: 99.92 kB / 0.6854 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.938e-05/0.698, allocations: 25.62 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.162e-05/0.6981, allocations: 3.391 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.813e-05/0.6982, allocations: 12.91 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.6983, allocations: 19.92 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.6983, allocations: 3.125 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007066/0.699, allocations: 308.7 kB / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.6991, allocations: 7.297 kB / 0.6857 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.6991, allocations: 31.02 kB / 0.6858 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.6995, allocations: 138.5 kB / 0.6859 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6995, allocations: 4 kB / 0.6859 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6995, allocations: 3.938 kB / 0.6859 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.6995, allocations: 0 / 0.6859 GB, free: 15.18 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006031/0.7001, allocations: 373 kB / 0.6863 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.7002, allocations: 8.594 kB / 0.6863 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.7003, allocations: 36.27 kB / 0.6863 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007698/0.701, allocations: 89.17 kB / 0.6864 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.897e-05/0.7011, allocations: 162.8 kB / 0.6866 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.7012, allocations: 5.156 kB / 0.6866 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.7012, allocations: 1.094 kB / 0.6866 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.7017, allocations: 92.98 kB / 0.6866 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.7017, allocations: 1.172 kB / 0.6866 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.7017, allocations: 0 / 0.6866 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.7018, allocations: 0 / 0.6866 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007954/0.7026, allocations: 123.7 kB / 0.6868 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/0.7033, allocations: 308.9 kB / 0.6871 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.704, allocations: 113.8 kB / 0.6872 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.704, allocations: 4 kB / 0.6872 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.704, allocations: 32.7 kB / 0.6872 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.994e-06/0.7041, allocations: 0 / 0.6872 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.001295/0.7054, allocations: 203.8 kB / 0.6874 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.7054, allocations: 57.08 kB / 0.6875 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.7055, allocations: 102.8 kB / 0.6876 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.7055, allocations: 25.7 kB / 0.6876 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.7056, allocations: 89.64 kB / 0.6877 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.7056, allocations: 1.766 kB / 0.6877 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.7056, allocations: 1.125 kB / 0.6877 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.7057, allocations: 316.2 kB / 0.688 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.7061, allocations: 57.08 kB / 0.688 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.7065, allocations: 61.94 kB / 0.6881 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.7069, allocations: 54.78 kB / 0.6881 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7069, allocations: 0.9688 kB / 0.6881 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0008452/0.7078, allocations: 152.6 kB / 0.6883 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.7078, allocations: 4.406 kB / 0.6883 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7078, allocations: 1.031 kB / 0.6883 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.7079, allocations: 4.891 kB / 0.6883 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.7081, allocations: 34.05 kB / 0.6883 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7082, allocations: 1.094 kB / 0.6883 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.7084, allocations: 26.41 kB / 0.6883 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.7084, allocations: 4.969 kB / 0.6884 GB, free: 13.34 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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 8.501e-05/0.7085, allocations: 112.3 kB / 0.6885 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.7086, allocations: 2.938 kB / 0.6885 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.7086, allocations: 8.156 kB / 0.6885 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.7086, allocations: 1.125 kB / 0.6885 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7086, allocations: 3.953 kB / 0.6885 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7086, allocations: 0.9844 kB / 0.6885 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.7089, allocations: 167.4 kB / 0.6886 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7089, allocations: 1.312 kB / 0.6886 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.7091, allocations: 30.77 kB / 0.6887 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.7092, allocations: 0 / 0.6887 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.7092, allocations: 1.75 kB / 0.6887 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7092, allocations: 0 / 0.6887 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.7092, allocations: 5.734 kB / 0.6887 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008627/0.7101, allocations: 243.5 kB / 0.6889 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.7101, allocations: 82.77 kB / 0.689 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.7102, allocations: 5.766 kB / 0.689 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.7104, allocations: 25.83 kB / 0.689 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.7105, allocations: 3.094 kB / 0.689 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.7105, allocations: 6.469 kB / 0.689 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.7106, allocations: 84.72 kB / 0.6891 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7106, allocations: 0 / 0.6891 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003343/0.7109, allocations: 19.2 kB / 0.6891 GB, free: 12.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.001128/0.7121, allocations: 0.7783 MB / 0.6899 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008326/0.7129, allocations: 122 kB / 0.69 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.713, allocations: 1.062 kB / 0.69 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.7134, allocations: 63.61 kB / 0.6901 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.7136, allocations: 8.531 kB / 0.6901 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.7147, allocations: 208.8 kB / 0.6903 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.7149, allocations: 0.6797 MB / 0.6909 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.715, allocations: 20.23 kB / 0.691 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.7151, allocations: 9.797 kB / 0.691 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/0.7151, allocations: 1.062 kB / 0.691 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.7377, allocations: 1.394 MB / 0.6923 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.738, allocations: 191.5 kB / 0.6925 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.209, allocations: 0 / 0.6925 GB, free: 10.62 MB / 0.5261 GB