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.001039/0.001039, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 190.9 kB / 16.14 MB, free: 6.707 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.24/1.24, allocations: 205.1 MB / 222 MB, free: 4.77 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.6/1.6, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001382/0.001382, allocations: 68.39 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1873, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00167/0.1891, allocations: 0.7087 MB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1906, allocations: 1.499 MB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.388e-05/0.1906, allocations: 4 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.1906, allocations: 3.938 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.1907, allocations: 7.984 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.191, allocations: 91.7 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.246e-05/0.191, allocations: 23.92 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.1911, allocations: 8 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.1911, allocations: 19.86 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.1912, allocations: 15.92 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1912, allocations: 3.984 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.1916, allocations: 319.3 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.1916, allocations: 8 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.1916, allocations: 15.84 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1918, allocations: 187.9 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1918, allocations: 0 / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.31e-07/0.1919, allocations: 0 / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.1919, allocations: 4 kB / 0.7856 GB, free: 10.96 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.0004034/0.1923, allocations: 375.3 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1923, allocations: 12.03 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.1923, allocations: 42.67 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.1927, allocations: 56.86 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1928, allocations: 168.3 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1928, allocations: 4.375 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.1928, allocations: 4.375 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.1931, allocations: 77.77 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1931, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1931, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1931, allocations: 8 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.1934, allocations: 75.84 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.1936, allocations: 169.6 kB / 0.7866 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.194, allocations: 126.5 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1942, allocations: 48.94 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.1942, allocations: 0 / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.1943, allocations: 34.5 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.1943, allocations: 4 kB / 0.7868 GB, free: 9.613 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.003679/0.1979, allocations: 0.7856 MB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.198, allocations: 51.41 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.198, allocations: 113.8 kB / 0.7877 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1981, allocations: 25.7 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.1981, allocations: 88.14 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1981, allocations: 35.55 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.1982, allocations: 25.7 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.1983, allocations: 318.8 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.1987, allocations: 91.91 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.1991, allocations: 107.9 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/0.1998, allocations: 192.7 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1998, allocations: 3.938 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008048/0.2006, allocations: 237.3 kB / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.2006, allocations: 8 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.2006, allocations: 4 kB / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.2006, allocations: 0 / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.2009, allocations: 51.94 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.2009, allocations: 0 / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.2011, allocations: 35.95 kB / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.2012, allocations: 7.984 kB / 0.7889 GB, free: 7.395 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 6.666e-05/0.2012, allocations: 121.7 kB / 0.789 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.2013, allocations: 3.906 kB / 0.789 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.2013, allocations: 20.38 kB / 0.789 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2013, allocations: 0 / 0.789 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.2013, allocations: 0.75 kB / 0.789 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2013, allocations: 3.984 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.2028, allocations: 0.5974 MB / 0.7896 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2028, allocations: 0 / 0.7896 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.203, allocations: 56 kB / 0.7897 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2031, allocations: 0 / 0.7897 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2031, allocations: 8 kB / 0.7897 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2031, allocations: 3.938 kB / 0.7897 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2031, allocations: 4.219 kB / 0.7897 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000837/0.2039, allocations: 352.8 kB / 0.79 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.204, allocations: 81.02 kB / 0.7901 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.204, allocations: 8 kB / 0.7901 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.2042, allocations: 35.95 kB / 0.7901 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.2043, allocations: 11.92 kB / 0.7902 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2043, allocations: 7.984 kB / 0.7902 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.2043, allocations: 87.28 kB / 0.7903 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2043, allocations: 0 / 0.7903 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002582/0.2046, allocations: 39.98 kB / 0.7903 GB, free: 5.855 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.001104/0.2057, allocations: 0.8936 MB / 0.7912 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007918/0.2065, allocations: 212.3 kB / 0.7914 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2065, allocations: 0 / 0.7914 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.2069, allocations: 108 kB / 0.7915 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.2071, allocations: 14.86 kB / 0.7915 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.211, allocations: 2.143 MB / 0.7936 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.2112, allocations: 0.6837 MB / 0.7942 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.2113, allocations: 33.11 kB / 0.7943 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.2114, allocations: 27.42 kB / 0.7943 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2114, allocations: 0 / 0.7943 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.4/1.611, allocations: 2.518 MB / 0.7968 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/1.612, allocations: 211 kB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/3.189, allocations: 4 kB / 0.797 GB, free: 14.95 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)