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 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.Examples.InverseXRegularized,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.108/4.108, allocations: 433.2 MB / 440.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.261e-05, allocations: 9.344 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2052, allocations: 98.73 MB / 0.6289 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/0.428, allocations: 124.9 MB / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.4284, allocations: 75.95 kB / 0.751 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01923/0.4476, allocations: 3.719 MB / 0.7546 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4477, allocations: 0 / 0.7546 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.4477, allocations: 3.938 kB / 0.7546 GB, free: 8.152 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006113/0.4483, allocations: 386.2 kB / 0.755 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.4484, allocations: 16.03 kB / 0.755 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006065/0.449, allocations: 63.89 kB / 0.7551 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.4492, allocations: 163.1 kB / 0.7552 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.4492, allocations: 4 kB / 0.7552 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.4492, allocations: 0 / 0.7552 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001225/0.4494, allocations: 20 kB / 0.7552 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.4495, allocations: 49.67 kB / 0.7553 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4495, allocations: 0 / 0.7553 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4495, allocations: 3.938 kB / 0.7553 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.4496, allocations: 0 / 0.7553 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.4501, allocations: 277.4 kB / 0.7556 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.4503, allocations: 38.56 kB / 0.7556 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.4503, allocations: 16.92 kB / 0.7556 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.4504, allocations: 0 / 0.7556 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4504, allocations: 34.56 kB / 0.7556 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.4504, allocations: 0 / 0.7556 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0004198/0.4508, allocations: 73.61 kB / 0.7557 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.4509, allocations: 59.36 kB / 0.7558 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.451, allocations: 92.98 kB / 0.7559 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.451, allocations: 25.7 kB / 0.7559 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.4511, allocations: 88.17 kB / 0.756 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.4511, allocations: 3.906 kB / 0.756 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.4511, allocations: 4 kB / 0.756 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4512, allocations: 310.8 kB / 0.7563 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.902e-05/0.4513, allocations: 13.62 kB / 0.7563 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.73e-05/0.4514, allocations: 12 kB / 0.7563 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.4516, allocations: 23.97 kB / 0.7563 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4516, allocations: 8.062 kB / 0.7563 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002974/0.4519, allocations: 69.66 kB / 0.7564 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4519, allocations: 4 kB / 0.7564 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4519, allocations: 3.938 kB / 0.7564 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.452, allocations: 0 / 0.7564 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.4522, allocations: 35.94 kB / 0.7564 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.4523, allocations: 0 / 0.7564 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.4525, allocations: 23.94 kB / 0.7565 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.4525, allocations: 3.984 kB / 0.7565 GB, free: 6.066 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 (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.232e-05/0.4526, allocations: 112.9 kB / 0.7566 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003131/0.4529, allocations: 69.58 kB / 0.7566 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.453, allocations: 4 kB / 0.7566 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.453, allocations: 7.75 kB / 0.7566 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.453, allocations: 3.938 kB / 0.7566 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.453, allocations: 3.953 kB / 0.7566 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4531, allocations: 0 / 0.7566 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.4533, allocations: 154.2 kB / 0.7568 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4533, allocations: 0 / 0.7568 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.4536, allocations: 32 kB / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4536, allocations: 0 / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.4536, allocations: 0 / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4536, allocations: 0 / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4536, allocations: 0 / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.454, allocations: 175.4 kB / 0.757 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.4541, allocations: 81.02 kB / 0.7571 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.4541, allocations: 0 / 0.7571 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.4544, allocations: 32.23 kB / 0.7571 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.4545, allocations: 8 kB / 0.7571 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.4545, allocations: 4 kB / 0.7571 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.94e-05/0.4546, allocations: 79.28 kB / 0.7572 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.91e-07/0.4546, allocations: 0 / 0.7572 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003703/0.455, allocations: 23.94 kB / 0.7572 GB, free: 5.211 MB / 0.6355 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 () * 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.0007969/0.4558, allocations: 0.7124 MB / 0.7579 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.456, allocations: 28 kB / 0.7579 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.456, allocations: 0 / 0.7579 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.4561, allocations: 12 kB / 0.7579 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.4563, allocations: 8.922 kB / 0.758 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.4571, allocations: 137.7 kB / 0.7581 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.4574, allocations: 0.6768 MB / 0.7587 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.4575, allocations: 12 kB / 0.7588 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.4576, allocations: 15.42 kB / 0.7588 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of SimCode: time 8.91e-07/0.4576, allocations: 0 / 0.7588 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.4941, allocations: 1.074 MB / 0.7598 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/0.4945, allocations: 138.7 kB / 0.76 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/2.819, allocations: 4.031 kB / 0.76 GB, free: 2.266 MB / 0.6355 GB