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.001015/0.001015, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001119/0.001119, allocations: 192.4 kB / 16.25 MB, free: 6.625 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.211/1.211, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.594/1.594, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001258/0.001258, allocations: 74.03 kB / 0.6711 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1639, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001631/0.1656, allocations: 0.7055 MB / 0.7837 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1676, allocations: 1.487 MB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.1677, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.1678, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.1678, allocations: 11.98 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.1682, allocations: 95.7 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.472e-05/0.1683, allocations: 23.92 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.1683, allocations: 11.92 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.1684, allocations: 12 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.1684, allocations: 31.83 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1685, allocations: 0 / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.1689, allocations: 315.4 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.1689, allocations: 11.91 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.169, allocations: 11.94 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1692, allocations: 187.8 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1692, allocations: 4 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1693, allocations: 0 / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1693, allocations: 0 / 0.7858 GB, free: 10.89 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.000498/0.1698, allocations: 383.3 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1698, allocations: 8.031 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.1698, allocations: 30.75 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.1702, allocations: 60.86 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1704, allocations: 176.3 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1704, allocations: 384 / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1704, allocations: 4.375 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.1707, allocations: 81.7 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1707, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1707, allocations: 4 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1707, allocations: 3.938 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.1711, allocations: 67.92 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.1713, allocations: 169.7 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.1719, allocations: 118.5 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.1721, allocations: 48.88 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1721, allocations: 4 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1722, allocations: 34.5 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.745e-06/0.1722, allocations: 0 / 0.7869 GB, free: 9.551 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.004046/0.1762, allocations: 0.794 MB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.1763, allocations: 59.34 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.1763, allocations: 109.8 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1764, allocations: 25.7 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.1764, allocations: 84.14 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1764, allocations: 35.53 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.1765, allocations: 29.7 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.1766, allocations: 318.8 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.1769, allocations: 96.08 kB / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.1773, allocations: 95.91 kB / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007272/0.1781, allocations: 196.7 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1781, allocations: 7.875 kB / 0.7887 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000795/0.1789, allocations: 241.6 kB / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1789, allocations: 4 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1789, allocations: 0 / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1789, allocations: 4 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.1792, allocations: 55.88 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1792, allocations: 0 / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.1794, allocations: 43.95 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1794, allocations: 4 kB / 0.7891 GB, free: 7.312 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.577e-05/0.1795, allocations: 113.8 kB / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.1795, allocations: 7.906 kB / 0.7892 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.1796, allocations: 12.36 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1796, allocations: 11.98 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1796, allocations: 0 / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1796, allocations: 0 / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.181, allocations: 0.5935 MB / 0.7898 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.181, allocations: 0 / 0.7898 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.1813, allocations: 51.94 kB / 0.7898 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1813, allocations: 0 / 0.7898 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1813, allocations: 12.06 kB / 0.7898 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1813, allocations: 3.984 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1813, allocations: 7.938 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008194/0.1821, allocations: 340.9 kB / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.1822, allocations: 89 kB / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.1822, allocations: 0 / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.1825, allocations: 35.95 kB / 0.7903 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.1825, allocations: 15.92 kB / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1825, allocations: 8 kB / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.1826, allocations: 91.27 kB / 0.7904 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1826, allocations: 0 / 0.7904 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002545/0.1828, allocations: 32 kB / 0.7904 GB, free: 5.789 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.001094/0.1839, allocations: 0.9054 MB / 0.7913 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000801/0.1847, allocations: 211.7 kB / 0.7915 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1847, allocations: 0 / 0.7915 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.1851, allocations: 108 kB / 0.7916 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1854, allocations: 14.86 kB / 0.7916 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.1892, allocations: 2.14 MB / 0.7937 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.1894, allocations: 0.6885 MB / 0.7944 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000105/0.1895, allocations: 16.67 kB / 0.7944 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.1896, allocations: 27.41 kB / 0.7945 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.1896, allocations: 4 kB / 0.7945 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8369/1.027, allocations: 2.61 MB / 0.797 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/1.027, allocations: 208.9 kB / 0.7972 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.97, allocations: 3.75 kB / 0.7972 GB, free: 14.81 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)