Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 288.4 MB / 303.6 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000909/0.0009091, allocations: 168.5 kB / 372.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006576/0.0006577, allocations: 89.16 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003188, allocations: 17.45 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1749, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0005379/0.1755, allocations: 359.7 kB / 0.9805 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1767, allocations: 1.429 MB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.1767, allocations: 4 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.075e-05/0.1767, allocations: 0 / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-05/0.1768, allocations: 3.938 kB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1771, allocations: 91.69 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.272e-05/0.1771, allocations: 27.91 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1772, allocations: 0 / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.764e-05/0.1772, allocations: 15.94 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.1773, allocations: 19.91 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1773, allocations: 4 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.1776, allocations: 311.3 kB / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.1777, allocations: 0 / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.1777, allocations: 45.56 kB / 0.9824 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1778, allocations: 136 kB / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1779, allocations: 0 / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1779, allocations: 0 / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.115e-06/0.1779, allocations: 4 kB / 0.9826 GB, free: 24.8 MB / 0.6198 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.0003346/0.1782, allocations: 371.4 kB / 0.9829 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1782, allocations: 8.031 kB / 0.9829 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.234e-05/0.1783, allocations: 38.75 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.1786, allocations: 76.77 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.174e-05/0.1787, allocations: 164.4 kB / 0.9832 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1787, allocations: 8.375 kB / 0.9832 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1787, allocations: 384 / 0.9832 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.179, allocations: 85.7 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.179, allocations: 11.91 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.179, allocations: 0 / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.179, allocations: 0 / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.1793, allocations: 83.91 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.1794, allocations: 169.7 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.1799, allocations: 138.5 kB / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1801, allocations: 56.88 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.1801, allocations: 0 / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.1801, allocations: 42.5 kB / 0.9838 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1801, allocations: 4 kB / 0.9838 GB, free: 23.4 MB / 0.6198 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.003613/0.1837, allocations: 0.9468 MB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.1838, allocations: 59.34 kB / 0.9848 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.1838, allocations: 110.1 kB / 0.9849 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1839, allocations: 33.7 kB / 0.9849 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.1839, allocations: 80.14 kB / 0.985 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1839, allocations: 31.55 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.1839, allocations: 4 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.184, allocations: 322.8 kB / 0.9853 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.1844, allocations: 111.9 kB / 0.9854 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.1847, allocations: 123.9 kB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.1854, allocations: 232.7 kB / 0.9858 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1854, allocations: 3.938 kB / 0.9858 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008228/0.1863, allocations: 289.3 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1863, allocations: 4 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1863, allocations: 0 / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1863, allocations: 4 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.1867, allocations: 71.86 kB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1867, allocations: 4.062 kB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.1869, allocations: 48.69 kB / 0.9862 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1869, allocations: 4 kB / 0.9862 GB, free: 20.89 MB / 0.6198 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 9.839e-05/0.187, allocations: 125.8 kB / 0.9863 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.1871, allocations: 0 / 0.9863 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.1871, allocations: 16.36 kB / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1871, allocations: 0 / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1871, allocations: 0 / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1871, allocations: 0 / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.1887, allocations: 0.6715 MB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1887, allocations: 0 / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.189, allocations: 64 kB / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.189, allocations: 4 kB / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.189, allocations: 0 / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.189, allocations: 4 kB / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1891, allocations: 4.219 kB / 0.987 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008448/0.1899, allocations: 388.8 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.1899, allocations: 81.09 kB / 0.9875 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.19, allocations: 4 kB / 0.9875 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.1902, allocations: 43.95 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.1902, allocations: 15.92 kB / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1902, allocations: 4 kB / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.1903, allocations: 95.27 kB / 0.9876 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1903, allocations: 3.938 kB / 0.9876 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002472/0.1905, allocations: 40 kB / 0.9877 GB, free: 19.24 MB / 0.6198 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.001158/0.1917, allocations: 0.9433 MB / 0.9886 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000813/0.1925, allocations: 251.7 kB / 0.9888 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1925, allocations: 0 / 0.9888 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.1929, allocations: 128 kB / 0.989 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.1932, allocations: 11.94 kB / 0.989 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.196, allocations: 1.144 MB / 0.9901 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.815e-05/0.1961, allocations: 0.6906 MB / 0.9908 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.1962, allocations: 24.97 kB / 0.9908 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.1963, allocations: 27.42 kB / 0.9908 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1963, allocations: 0 / 0.9908 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3265/0.5227, allocations: 2.44 MB / 0.9932 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/0.5231, allocations: 215 kB / 0.9934 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.554, allocations: 0 / 0.9934 GB, free: 13.4 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)