Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0007581/0.0007581, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008132/0.0008132, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.044/1.044, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004402, allocations: 8 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1761, allocations: 83.42 MB / 0.5976 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006773/0.1768, allocations: 363 kB / 0.5979 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1784, allocations: 1.377 MB / 0.5992 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.1785, allocations: 0 / 0.5992 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.1785, allocations: 0 / 0.5992 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-05/0.1786, allocations: 7.984 kB / 0.5993 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.1789, allocations: 91.7 kB / 0.5993 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.369e-05/0.1789, allocations: 23.92 kB / 0.5994 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.179, allocations: 3.984 kB / 0.5994 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.179, allocations: 19.92 kB / 0.5994 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.1791, allocations: 15.92 kB / 0.5994 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1791, allocations: 0 / 0.5994 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.1795, allocations: 307.4 kB / 0.5997 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.1795, allocations: 15.92 kB / 0.5997 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.1796, allocations: 29.7 kB / 0.5997 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1798, allocations: 132.1 kB / 0.5999 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1798, allocations: 0 / 0.5999 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1798, allocations: 0 / 0.5999 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.1798, allocations: 0 / 0.5999 GB, free: 5.34 MB / 0.4981 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.0004334/0.1802, allocations: 371.2 kB / 0.6002 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1803, allocations: 19.97 kB / 0.6002 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.1803, allocations: 30.56 kB / 0.6003 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/0.1806, allocations: 75.83 kB / 0.6003 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.1808, allocations: 171 kB / 0.6005 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1808, allocations: 7.984 kB / 0.6005 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1808, allocations: 4 kB / 0.6005 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.1811, allocations: 77.64 kB / 0.6006 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1811, allocations: 0 / 0.6006 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1811, allocations: 3.984 kB / 0.6006 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1811, allocations: 0 / 0.6006 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.1815, allocations: 87.92 kB / 0.6007 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.1817, allocations: 169.6 kB / 0.6008 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.1821, allocations: 146.5 kB / 0.601 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1823, allocations: 48.94 kB / 0.601 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1823, allocations: 4 kB / 0.601 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1824, allocations: 34.56 kB / 0.6011 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1824, allocations: 0 / 0.6011 GB, free: 3.941 MB / 0.4981 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.003692/0.1861, allocations: 0.9618 MB / 0.602 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1861, allocations: 51.41 kB / 0.602 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.1862, allocations: 117.8 kB / 0.6022 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1863, allocations: 25.7 kB / 0.6022 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.1863, allocations: 92.12 kB / 0.6023 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1863, allocations: 27.55 kB / 0.6023 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.1864, allocations: 4 kB / 0.6023 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1865, allocations: 322.8 kB / 0.6026 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.1869, allocations: 115.9 kB / 0.6027 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.1872, allocations: 111.9 kB / 0.6028 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.1876, allocations: 120.1 kB / 0.6029 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1876, allocations: 0 / 0.6029 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008111/0.1884, allocations: 281.5 kB / 0.6032 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1885, allocations: 5.25 kB / 0.6032 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1885, allocations: 7.922 kB / 0.6032 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1885, allocations: 0 / 0.6032 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.1888, allocations: 71.88 kB / 0.6033 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1888, allocations: 4.312 kB / 0.6033 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.189, allocations: 43.95 kB / 0.6033 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1891, allocations: 7.953 kB / 0.6033 GB, free: 1.547 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.1892, allocations: 113.8 kB / 0.6035 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.1892, allocations: 7.891 kB / 0.6035 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.1892, allocations: 12.38 kB / 0.6035 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1892, allocations: 4 kB / 0.6035 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1893, allocations: 0 / 0.6035 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1893, allocations: 0 / 0.6035 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.1908, allocations: 0.6676 MB / 0.6041 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1909, allocations: 0 / 0.6041 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.1911, allocations: 68 kB / 0.6042 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.1911, allocations: 4 kB / 0.6042 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1911, allocations: 7.953 kB / 0.6042 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1912, allocations: 4 kB / 0.6042 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1912, allocations: 0 / 0.6042 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008443/0.192, allocations: 381 kB / 0.6046 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.1921, allocations: 85.02 kB / 0.6047 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1921, allocations: 0 / 0.6047 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.1923, allocations: 51.91 kB / 0.6047 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.1924, allocations: 11.98 kB / 0.6047 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1924, allocations: 4 kB / 0.6047 GB, free: 24 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2934/0.4859, allocations: 95.2 kB / 0.6048 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.11e-07/0.4859, allocations: 0.8438 kB / 0.6048 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004462/0.4864, allocations: 31.3 kB / 0.6048 GB, free: 40.98 MB / 0.4981 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 (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.001302/0.4877, allocations: 0.9375 MB / 0.6058 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007625/0.4885, allocations: 251.7 kB / 0.606 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4885, allocations: 1.094 kB / 0.606 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.4888, allocations: 130 kB / 0.6061 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.4891, allocations: 10.92 kB / 0.6061 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.4917, allocations: 1.15 MB / 0.6073 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.4919, allocations: 0.6875 MB / 0.6079 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.492, allocations: 19.52 kB / 0.6079 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.097e-05/0.4921, allocations: 30.31 kB / 0.608 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of SimCode: time 7.22e-07/0.4921, allocations: 4 kB / 0.608 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.5045, allocations: 2.457 MB / 0.6104 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.5047, allocations: 211.5 kB / 0.6106 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.147, allocations: 3.938 kB / 0.6106 GB, free: 38.86 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: