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.0009378/0.000938, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009541/0.0009541, allocations: 177.3 kB / 15.94 MB, free: 228 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.354/1.354, allocations: 223.2 MB / 239.9 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9752/0.9752, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003352, allocations: 8 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1755, allocations: 83.41 MB / 0.5974 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007512/0.1763, allocations: 363 kB / 0.5977 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.1779, allocations: 1.389 MB / 0.5991 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.1779, allocations: 0 / 0.5991 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.178, allocations: 0 / 0.5991 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.253e-05/0.178, allocations: 7.938 kB / 0.5991 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.1784, allocations: 99.67 kB / 0.5992 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.423e-05/0.1784, allocations: 11.97 kB / 0.5992 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.1785, allocations: 4 kB / 0.5992 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.169e-05/0.1785, allocations: 11.94 kB / 0.5992 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.1786, allocations: 27.89 kB / 0.5992 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1786, allocations: 0 / 0.5992 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.179, allocations: 303.5 kB / 0.5995 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.179, allocations: 11.92 kB / 0.5995 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.1791, allocations: 33.64 kB / 0.5995 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1793, allocations: 140.1 kB / 0.5997 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1793, allocations: 0 / 0.5997 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1793, allocations: 0 / 0.5997 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.1793, allocations: 0 / 0.5997 GB, free: 5.316 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.000426/0.1797, allocations: 373.7 kB / 0.6 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1798, allocations: 8.031 kB / 0.6 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.1798, allocations: 38.56 kB / 0.6001 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.1802, allocations: 75.83 kB / 0.6002 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1803, allocations: 175 kB / 0.6003 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1803, allocations: 0 / 0.6003 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1804, allocations: 8 kB / 0.6003 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.1806, allocations: 81.64 kB / 0.6004 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1806, allocations: 0 / 0.6004 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.1807, allocations: 0 / 0.6004 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1807, allocations: 0 / 0.6004 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.181, allocations: 87.91 kB / 0.6005 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.1812, allocations: 169.7 kB / 0.6007 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.1817, allocations: 154.4 kB / 0.6008 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.1817, allocations: 3.938 kB / 0.6008 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1818, allocations: 30.56 kB / 0.6008 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.1818, allocations: 0 / 0.6008 GB, free: 3.969 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.004059/0.1858, allocations: 0.9536 MB / 0.6018 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1859, allocations: 51.41 kB / 0.6018 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.186, allocations: 117.8 kB / 0.6019 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.186, allocations: 33.64 kB / 0.602 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.1861, allocations: 84.14 kB / 0.602 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.1861, allocations: 39.53 kB / 0.6021 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.1861, allocations: 4 kB / 0.6021 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1862, allocations: 314.8 kB / 0.6024 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.1867, allocations: 115.9 kB / 0.6025 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.1871, allocations: 115.9 kB / 0.6026 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.1875, allocations: 119.9 kB / 0.6027 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1875, allocations: 0 / 0.6027 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009064/0.1885, allocations: 281.4 kB / 0.603 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1885, allocations: 4 kB / 0.603 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1885, allocations: 0 / 0.603 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1885, allocations: 4.359 kB / 0.603 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.1888, allocations: 67.88 kB / 0.6031 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1889, allocations: 4 kB / 0.6031 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.1891, allocations: 43.95 kB / 0.6031 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.1891, allocations: 15.89 kB / 0.6031 GB, free: 1.574 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 8.939e-05/0.1892, allocations: 113.8 kB / 0.6032 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.1893, allocations: 3.906 kB / 0.6032 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.1893, allocations: 20.36 kB / 0.6033 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1893, allocations: 0 / 0.6033 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1893, allocations: 0 / 0.6033 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1893, allocations: 0 / 0.6033 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.1911, allocations: 0.6606 MB / 0.6039 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.1911, allocations: 3.938 kB / 0.6039 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.1914, allocations: 64 kB / 0.604 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1914, allocations: 4 kB / 0.604 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1914, allocations: 11.95 kB / 0.604 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1914, allocations: 4 kB / 0.604 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1914, allocations: 0 / 0.604 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/0.1924, allocations: 408.4 kB / 0.6044 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.1924, allocations: 81.02 kB / 0.6044 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1925, allocations: 4 kB / 0.6044 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.1927, allocations: 47.89 kB / 0.6045 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.1928, allocations: 15.97 kB / 0.6045 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1928, allocations: 8 kB / 0.6045 GB, free: 12 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2961/0.4889, allocations: 90.78 kB / 0.6046 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.002e-06/0.489, allocations: 0 / 0.6046 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004636/0.4894, allocations: 38.17 kB / 0.6046 GB, free: 40.64 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.001476/0.4909, allocations: 1.101 MB / 0.6057 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000947/0.4919, allocations: 249.9 kB / 0.606 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4919, allocations: 0 / 0.606 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.4923, allocations: 125.5 kB / 0.6061 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.4925, allocations: 6.438 kB / 0.6061 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.4956, allocations: 1.148 MB / 0.6072 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.4958, allocations: 0.6887 MB / 0.6079 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.4959, allocations: 24.14 kB / 0.6079 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.496, allocations: 27.2 kB / 0.6079 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of SimCode: time 8.02e-07/0.496, allocations: 4 kB / 0.6079 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01196/0.5079, allocations: 2.442 MB / 0.6103 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.5081, allocations: 202 kB / 0.6105 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.211, allocations: 0 / 0.6105 GB, free: 38.37 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: