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.InverseXRegularized.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.InverseXRegularized,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.777/4.777, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.966e-05/3.977e-05, allocations: 8 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6517/0.6518, allocations: 98.71 MB / 0.6289 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2434/0.8953, allocations: 124.6 MB / 0.7506 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/0.8957, allocations: 75.95 kB / 0.7506 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02173/0.9174, allocations: 4.092 MB / 0.7546 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9175, allocations: 0 / 0.7546 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.9175, allocations: 0 / 0.7546 GB, free: 14.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005398/0.9181, allocations: 378.3 kB / 0.755 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.9181, allocations: 8.031 kB / 0.755 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004818/0.9186, allocations: 59.84 kB / 0.7551 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.9188, allocations: 171 kB / 0.7552 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.9189, allocations: 4 kB / 0.7552 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.9189, allocations: 0 / 0.7552 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001129/0.9191, allocations: 23.92 kB / 0.7552 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.9192, allocations: 49.69 kB / 0.7553 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.9192, allocations: 0 / 0.7553 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.9192, allocations: 0 / 0.7553 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9193, allocations: 0 / 0.7553 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.9195, allocations: 150.2 kB / 0.7554 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.9196, allocations: 46.56 kB / 0.7555 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.9197, allocations: 16.98 kB / 0.7555 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.9197, allocations: 0 / 0.7555 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.9198, allocations: 50.44 kB / 0.7555 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.9198, allocations: 0 / 0.7555 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.004717/0.9245, allocations: 472.9 kB / 0.756 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.9246, allocations: 55.41 kB / 0.756 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.9248, allocations: 105 kB / 0.7561 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.9248, allocations: 25.7 kB / 0.7562 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.9249, allocations: 84.12 kB / 0.7562 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/0.925, allocations: 27.56 kB / 0.7563 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.925, allocations: 0 / 0.7563 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9251, allocations: 326.8 kB / 0.7566 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.9253, allocations: 35.98 kB / 0.7566 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.9254, allocations: 31.98 kB / 0.7567 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.9257, allocations: 68.09 kB / 0.7567 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9257, allocations: 0 / 0.7567 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005375/0.9263, allocations: 145.5 kB / 0.7569 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.9263, allocations: 8 kB / 0.7569 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.9264, allocations: 0 / 0.7569 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.9264, allocations: 0 / 0.7569 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.9271, allocations: 71.86 kB / 0.7569 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.9272, allocations: 0 / 0.7569 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.9277, allocations: 47.95 kB / 0.757 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.9278, allocations: 3.984 kB / 0.757 GB, free: 12.28 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 (9): * Single equations (assignments): 9 * 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.0001353/0.9279, allocations: 108.9 kB / 0.7571 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006175/0.9285, allocations: 149.4 kB / 0.7572 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.9286, allocations: 4 kB / 0.7572 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.9286, allocations: 16.61 kB / 0.7572 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.9287, allocations: 0 / 0.7572 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9287, allocations: 0 / 0.7572 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.9287, allocations: 0 / 0.7572 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.9307, allocations: 0.5025 MB / 0.7577 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.9308, allocations: 4 kB / 0.7577 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.9314, allocations: 67.98 kB / 0.7578 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.9314, allocations: 0 / 0.7578 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.9315, allocations: 11.92 kB / 0.7578 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.9315, allocations: 7.891 kB / 0.7578 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.9315, allocations: 4.078 kB / 0.7578 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.9321, allocations: 268.6 kB / 0.7581 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.9322, allocations: 85.06 kB / 0.7582 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.9322, allocations: 0 / 0.7582 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/0.9328, allocations: 48.33 kB / 0.7582 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.9328, allocations: 11.98 kB / 0.7582 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.9329, allocations: 7.984 kB / 0.7582 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.08e-05/0.933, allocations: 91.27 kB / 0.7583 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.933, allocations: 0 / 0.7583 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004243/0.9334, allocations: 31.94 kB / 0.7583 GB, free: 10.76 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001072/0.9345, allocations: 0.9525 MB / 0.7593 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.9349, allocations: 91.88 kB / 0.7594 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.9349, allocations: 0 / 0.7594 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.9351, allocations: 47.91 kB / 0.7594 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.9353, allocations: 8 kB / 0.7594 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.9381, allocations: 407.1 kB / 0.7598 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.9384, allocations: 0.6885 MB / 0.7605 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002493/0.9387, allocations: 21.05 kB / 0.7605 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.9389, allocations: 31.39 kB / 0.7605 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.9389, allocations: 0 / 0.7605 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/0.9821, allocations: 2.278 MB / 0.7628 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/0.9824, allocations: 159.1 kB / 0.7629 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.502, allocations: 0 / 0.7629 GB, free: 5.949 MB / 0.6355 GB