Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 73.91 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1857, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001716/0.1874, allocations: 0.6291 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.189, allocations: 1.494 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.189, allocations: 0 / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.189, allocations: 3.938 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.1891, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.1895, allocations: 119.5 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.998e-05/0.1895, allocations: 23.92 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.1896, allocations: 15.92 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.1896, allocations: 11.92 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.1897, allocations: 27.84 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1897, allocations: 0 / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.1901, allocations: 319.4 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.1901, allocations: 7.922 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.1902, allocations: 11.94 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1904, allocations: 187.8 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1904, allocations: 4 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1904, allocations: 4 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1905, allocations: 0 / 0.7863 GB, free: 10.51 MB / 0.6075 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.0004388/0.1909, allocations: 379.3 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1909, allocations: 8.031 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.587e-05/0.191, allocations: 30.75 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.1913, allocations: 60.86 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1915, allocations: 176.3 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1915, allocations: 384 / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.1915, allocations: 4.375 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.1918, allocations: 85.7 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1918, allocations: 0 / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1918, allocations: 0 / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1918, allocations: 0 / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.1921, allocations: 67.92 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.1923, allocations: 169.7 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.1929, allocations: 130.5 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.1931, allocations: 36.95 kB / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.1931, allocations: 0 / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.1931, allocations: 46.44 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1931, allocations: 0 / 0.7874 GB, free: 9.168 MB / 0.6075 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003923/0.197, allocations: 0.7872 MB / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1971, allocations: 59.34 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.1972, allocations: 117.8 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.1972, allocations: 25.7 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.1973, allocations: 88.14 kB / 0.7885 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.1973, allocations: 31.55 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1974, allocations: 25.8 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.964e-05/0.1975, allocations: 322.8 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.1979, allocations: 96.08 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.1983, allocations: 99.89 kB / 0.789 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.1991, allocations: 192.7 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1991, allocations: 3.938 kB / 0.7892 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009097/0.2, allocations: 245.3 kB / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2001, allocations: 4 kB / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2001, allocations: 0 / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2001, allocations: 4 kB / 0.7894 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.2004, allocations: 51.88 kB / 0.7895 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2004, allocations: 4 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.2006, allocations: 39.95 kB / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2007, allocations: 4 kB / 0.7895 GB, free: 6.934 MB / 0.6075 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.694e-05/0.2008, allocations: 118.4 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.2008, allocations: 11.89 kB / 0.7897 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.2008, allocations: 8.375 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2008, allocations: 0 / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2009, allocations: 4 kB / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2009, allocations: 0 / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.2025, allocations: 0.5897 MB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2025, allocations: 0 / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.2028, allocations: 64.22 kB / 0.7903 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2028, allocations: 0 / 0.7903 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.2028, allocations: 7.984 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2028, allocations: 3.938 kB / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2028, allocations: 7.938 kB / 0.7903 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.2037, allocations: 340.9 kB / 0.7906 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.2038, allocations: 92.94 kB / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.2038, allocations: 0 / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.204, allocations: 39.95 kB / 0.7908 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.2041, allocations: 15.92 kB / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2041, allocations: 4 kB / 0.7908 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.2042, allocations: 91.27 kB / 0.7909 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2042, allocations: 0 / 0.7909 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002849/0.2045, allocations: 36 kB / 0.7909 GB, free: 5.402 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.2058, allocations: 0.9014 MB / 0.7918 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008935/0.2067, allocations: 207.7 kB / 0.792 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2067, allocations: 0 / 0.792 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.2071, allocations: 108 kB / 0.7921 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.2074, allocations: 11.94 kB / 0.7921 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.2119, allocations: 2.132 MB / 0.7942 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.2122, allocations: 0.6885 MB / 0.7949 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.2123, allocations: 28.55 kB / 0.7949 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.2124, allocations: 31.41 kB / 0.7949 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2124, allocations: 0 / 0.7949 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.23, allocations: 2.711 MB / 0.7976 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.142/7.372, allocations: 3.938 kB / 0.7976 GB, free: 14.54 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)